Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-60225

Trigger builds only by PR comments

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

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

          Show
          legonigel 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
          Hide
          bitwiseman Liam Newman added a comment -

          Nigel Armstrong
          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.

          Show
          bitwiseman Liam Newman added a comment - Nigel Armstrong 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.

            People

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

              Dates

              Created:
              Updated: