

You can disable the build status notifications propagation. You can override the default webhook endpoint "/bitbucket-hook/" consumed by the plugin In the URL field (see image, at 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.įor more specific infos about managing webhooks please consult:Ĭonfigure the Global Configurations of the Plugin and configure the Bitbucket Cloud / Server webhooks accordingly to the new webhook endpoint (in our example: "bitbucket-ppr-webhook")Ĭonfigure your Bitbucket repository adding a webhook in the settings page.

This webhook has to be a new one, consumed only by the Bitbucket Push and Pull Request Plugin, in order to avoid conflicts with other plugins

support of pushs for Bitbucket cloud (rest api v2.x+ with mercurial and git) and Bitbucket server (5.14+ with git).support of pull requests for Bitbucket cloud (rest api v2.x+ with mercurial and git) and bitbucket Server (5.14+ with git).The new features introduced by Bitbucket Push and Pull Request 2.x.x are: Plugin for Jenkins v2.138.2 or later, that triggers builds on Bitbucket's push and pull requests events. Second (more verbose) valid dsl for freestyle jobs.Valid for pipeline with job-dsl 1.77+ (and before).Valid for freestyle jobs and pipeline jobs (until job-dsl plugin v1.76, deprecated in v1.77 for pipeline jobs).Dsl Job actions for Bitbucket Push and Pull Request Trigger.Troubleshooting: Some important aspects to keep in mind.Bitbucket Events supported by the plugin.Authentication for state notification and generally when using the Bitbucket REST API.Configure the Global Configurations of the Plugin.
