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

Webhook to Jenkins provides the ability to configure your repository so that a git push to Bitbucket automatically triggers 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 provides a Trigger Build feature from the Bitbucket Pull Request page.

Trigger Branch Builds Manually

Webhook to Jenkins also offers this feature for individual branches from 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 rather than navigating (or sharing access) to your Jenkins instance. 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 System Requirements to learn more about what you need to install this app.