The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

GitHub Pull Request Builder

step([$class: 'GhprbPullRequestMerge']): Github Pull Request Merger

  • mergeComment : String
    Comment that should show up when the merge command is sent to GitHub.
  • onlyAdminsMerge : boolean
    Only allow admin users to trigger a pull request merge.
  • disallowOwnCode : boolean
    Disallow a user to merge their own code.
  • failOnNonMerge : boolean
  • deleteOnMerge : boolean
  • allowMergeWithoutTriggerPhrase : boolean
    Allow merging even if the trigger phrase is not present. This can be used with the permitAll ("Build every pull request automatically without asking (Dangerous!).")

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?


See existing feedback here.