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.

          [JENKINS-60225] Trigger builds only by PR comments

          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

          Nigel Armstrong added a comment - 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

          Liam Newman added a comment -

          legonigel
          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.

          Liam Newman added a comment - legonigel 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.

            Unassigned Unassigned
            gis Giacomo Serafini
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: