Child pages
  • Bitbucket Push And Pull Request Plugin

Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

Plugin Information

View Bitbucket Push and Pull Request on the plugin site for more information.


This plugin requires a Jenkins v2.138.2 or later and supports the Bitbucket rest api v2.x+ and later.

Plugin for Jenkins **v2.138.2 or later**, that trigger builds on Bitbucket's push and pull requests.
It's based on the Sazo's fork (<>)
of the official Bitbucket Plugin (<>).

The new features introduced by Bitbucket Push and Pull Request are:
  •  improved support of pushs for Bitbucket cloud (rest api v2.x+) and Bitbucket server (5.14+)
  • support of pull requests for Bitbucket cloud (rest api v2.x+) (thanks Sazo)
  • usage of Gson instead of net.sf.json.JSONObject (blacklisted starting from Jenkins 2.102+)
  • introduction of Models and security improvements

Bitbucket Push and Pull Request supports the
  • Bitbucket cloud rest api v2.x+ and later (push and pull requests)
  • Bitbucket server 5.14+ and later (push)


Configure the webhook

In case you are using Bitbucket Cloud, configure your Bitbucket repository adding a webhook in the settings page. In the URL field (see image, point A) add your JENKINS_URL followed by "/bitbucket-hook/" (for example "") Credentials for the webhook endpoint are not required, the trailing slash is mandatory. For more infos please consult the resource

If you are using Bitbucket Server, follow these instructions:

Configure your Jenkins job

1. Configure the Bitbucket Repository under the Source Code Management with your credentials.

2. Now activate the plugin in your job selecting the "Build with Bitbucket Push and Pull Request Plugin" option in the Build Triggers pane.

Code snippets


  • introduce pullrequests for Bitbucket server 5.14+ and later
  • improve DSL pipelines scripting


GIthub releases

  • No labels