Code Monkey home page Code Monkey logo

Comments (8)

ajzaff avatar ajzaff commented on July 20, 2024 2

@bluesliverx In a GHO folder, the branch configuration is read-only, so you'll need folder-level config.

from github-pr-comment-build-plugin.

bluesliverx avatar bluesliverx commented on July 20, 2024

Apparently this functionality was rolled into the github branch source plugin, so just make sure we support it there.

from github-pr-comment-build-plugin.

samdmarshall avatar samdmarshall commented on July 20, 2024

Hey, what is the status of this? Is there any way that I could register a rebuild to happen when a comment with specific text contents (as this plugin is described) is posted to a PR when using the Github branch source plugin?

from github-pr-comment-build-plugin.

bluesliverx avatar bluesliverx commented on July 20, 2024

Yes, the functionality is working - I just haven't verified support with GitHub organization folders yet.

from github-pr-comment-build-plugin.

samdmarshall avatar samdmarshall commented on July 20, 2024

cool, could you point me to an example of using this with a jenkinsfile or pipeline script? we haven't been able to figure out how to get called from there.

from github-pr-comment-build-plugin.

gimler avatar gimler commented on July 20, 2024

any news?

from github-pr-comment-build-plugin.

bluesliverx avatar bluesliverx commented on July 20, 2024

@samdmarshall please see #4 and #5 for more info on calling it from Jenkinsfile or pipeline scripts, this is not the way the plugin is intended to be used. It must be configured on the multibranch job.

@gimler as for GH organization folders, I haven't looked into them at all since we don't use them at all currently. That may change in the future, but it likely will not be soon. I'm very open to PRs to add this functionality if you figure out how to do this. Sorry I don't have a better answer, but since this is for work and I don't use this functionality in my home projects, I'm kind of limited to what I can do here.

from github-pr-comment-build-plugin.

bluesliverx avatar bluesliverx commented on July 20, 2024

It looks like this is actually only possible (without a lot of work on this plugin) through the pipeline script as long as you have the "Pipeline GitHub" plugin installed:

https://github.com/jenkinsci/pipeline-github-plugin#issuecommenttrigger

If you add that trigger to your pipeline script, it should trigger correctly, according to the docs. I'm closing this ticket since according to this Jenkins ticket, it is by design that branch properties cannot be configured on github orgs. It should all be done through pipeline scripts for them.

from github-pr-comment-build-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.