View on GitHub

bitbucket-push-and-pull-request-plugin

Plugin for Jenkins v2.138.2 or later, that triggers job builds on Bitbucket's push and pull request events.

Warning

This info is not created by the maintainer of the package. It is how I got it working by trial, error and looking at the code

Background

Steps

Create bitbucket.org oauth client

example consumer

consumer key and secret

Create Jenkins credential

jenkins credential

Jenkins Job config

Use the credential in the Build with Butbucket Push and Pull Request Plugin trigger

jenkins credential