Status: Open (View Workflow)
Jenkins ver. 2.190.1
GitHub Branch Source Plugin 2.5.8
As my organization wants to migrate from the github pr builder plugin to this one, it is critical for us to be able to trigger builds by comments on PRs and to disable automatic building upon detection of new commits.
We have very long builds (up to 1 hour) as we need to run performance tests of our software on nodes of a supercomputer, therefore we cannot afford having automatic building. Moreover, sometimes we may just change the environment and need to trigger a build without changing the code.
What we currently do with the github pr builder to trigger a build is writing a "launch jenkins" comment on a PR. If the plugin detects such comment from an authorized user (member of the organization on github), it starts the build.
I'm sure we are not the only ones which would benefit from such functionality.
That is a different plugin. What we need is community members to step up to add this functionality. I'm happy to answer question about where the implementation would need to go.
I believe you can use the issue comment trigger in your pipeline to only trigger on issue comments. See https://github.com/jenkinsci/pipeline-github-plugin/blob/master/README.md#issuecommenttrigger