Integrating your Bitbucket repository with Jenkins using Webhook to Jenkins saves time and increases productivity by allowing you to configure your Bitbucket repository so that a git push automatically triggers a Jenkins build. Advanced configuration options allow you to trigger jobs based on branch naming conventions, limit specific pull request events, and filter out particular committers.
This guide shows you how to configure your Jenkins and Bitbucket instances and the steps necessary to integrate the two using the Webhook to Jenkins plugin.
Automatically Trigger Jobs on Commit Push
The most powerful feature Webhook to Jenkins provides is the ability to configure your repository so that a git push to Bitbucket will automatically trigger a Jenkins build. Configuration options allow you to trigger jobs based on branch naming conventions, limit specific pull requests events, and filter out particular committers.
Trigger Pull Request Builds Manually from Bitbucket
Sometimes you want to trigger a Pull Request build without pushing any code. Webhook to Jenkins supports this by providing a Trigger Build feature off your Bitbucket Pull Request page.
Trigger Branch Builds Manually
It also offers this feature for individual branches, off the Branches page:
Source page:
And Commit page:
View Jenkins Builds inside Bitbucket with the Builds page
Sometimes you want to share Builds information inside Bitbucket instead having to navigate (or share access) to your Jenkins. You can view your Jenkins jobs and their status directly in Bitbucket:
Features
Automatically Trigger Jobs on Commit Push
Project-level or repository-level configuration
Add multiple Jenkins servers
Build parameter support
Jenkins Blue Ocean plugin support
Bitbucket Mirrors support
Triggers include: Pull Request Opened, ReOpened, Merged, and Approved, and Repository Refs Changed
Retrigger builds manually from the Pull Request and Branches screens
View Jenkins Builds inside Bitbucket with the Builds page
And much more!
Go to Webhook to Jenkins for Bitbucket in Atlassian Marketplace and click Try it free to begin a new trial or Buy now to purchase a license!
Proceed to the Webhook to Jenkins System Requirements to learn more about what you need to install this app.