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

Ability to trigger Pipelines on Github/(Enterprise) Pull Request Acceptance

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • github-plugin
    • None

      As a Jenkins user, I would like to be able to set up a Pipeline or Multibranch Pipeline job such that when a Github/(Enterprise) Pull Request is Approved, the job is triggered.

      A similar capability exists in the Github Pull Request Builder Plugin, where it communicates with the Github API and is able to trigger builds based off of specific text inside a Github comment. Screen shot attached. The screen shot illustrates a job which uses the GHPRB to trigger a build if a comment "Jenkins build this" is made in the PR, or skip the build if "Jenkins skip this" is found in the comment. In my use case, I don't want to scan the comment text, I want to trigger based on the state of the PR (i.e. "Approved").

          [JENKINS-51097] Ability to trigger Pipelines on Github/(Enterprise) Pull Request Acceptance

          M Chon created issue -
          M Chon made changes -
          Summary Original: Ability to trigger Pipelines on Github (Enterprise) Pull Request Acceptance New: Ability to trigger Pipelines on Github/(Enterprise) Pull Request Acceptance
          M Chon made changes -
          Description Original: As a Jenkins user, I would like to be able to set up a Pipeline or Multibranch Pipeline job such that when a Github (Enterprise) Pull Request is Approved, the job is triggered.

          A similar capability exists in the Github Pull Request Builder Plugin, where it communicates with the Github API and is able to trigger builds based off of specific text inside a Github comment. Screen shot attached. The screen shot illustrates a job which uses the GHPRB to trigger a build if a comment "Jenkins build this" is made in the PR, or skip the build if "Jenkins skip this" is found in the comment. In my use case, I don't want to scan the comment text, I want to trigger based on the state of the PR (i.e. "Approved).
          New: As a Jenkins user, I would like to be able to set up a Pipeline or Multibranch Pipeline job such that when a Github/(Enterprise) Pull Request is Approved, the job is triggered.

          A similar capability exists in the Github Pull Request Builder Plugin, where it communicates with the Github API and is able to trigger builds based off of specific text inside a Github comment. Screen shot attached. The screen shot illustrates a job which uses the GHPRB to trigger a build if a comment "Jenkins build this" is made in the PR, or skip the build if "Jenkins skip this" is found in the comment. In my use case, I don't want to scan the comment text, I want to trigger based on the state of the PR (i.e. "Approved).
          M Chon made changes -
          Attachment New: GHPRB Advanced options.png [ 42454 ]
          M Chon made changes -
          Description Original: As a Jenkins user, I would like to be able to set up a Pipeline or Multibranch Pipeline job such that when a Github/(Enterprise) Pull Request is Approved, the job is triggered.

          A similar capability exists in the Github Pull Request Builder Plugin, where it communicates with the Github API and is able to trigger builds based off of specific text inside a Github comment. Screen shot attached. The screen shot illustrates a job which uses the GHPRB to trigger a build if a comment "Jenkins build this" is made in the PR, or skip the build if "Jenkins skip this" is found in the comment. In my use case, I don't want to scan the comment text, I want to trigger based on the state of the PR (i.e. "Approved).
          New: As a Jenkins user, I would like to be able to set up a Pipeline or Multibranch Pipeline job such that when a Github/(Enterprise) Pull Request is Approved, the job is triggered.

          A similar capability exists in the Github Pull Request Builder Plugin, where it communicates with the Github API and is able to trigger builds based off of specific text inside a Github comment. Screen shot attached. The screen shot illustrates a job which uses the GHPRB to trigger a build if a comment "Jenkins build this" is made in the PR, or skip the build if "Jenkins skip this" is found in the comment. In my use case, I don't want to scan the comment text, I want to trigger based on the state of the PR (i.e. "Approved").
          Andrew Bayer made changes -
          Component/s New: github-plugin [ 15896 ]
          Component/s Original: pipeline [ 21692 ]

            Unassigned Unassigned
            mcsf M Chon
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: