Webhook to Jenkins for Bitbucket - Overview


Improve your DevOps workflow with automation that instantly notifies Jenkins about code commits and merges from Bitbucket

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, Source, and Commit pages.

Documentation for Webhook to Jenkins is available for Cloud and Data Center. Select the documentation path that applies.

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!

Contents

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!