Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

Aura inline button
summaryServer/Data Center
paramsJTdCJTIybGFiZWwlMjIlM0ElMjJTZXJ2ZXIlMkZEYXRhJTIwQ2VudGVyJTIyJTJDJTIyc2l6ZSUyMiUzQSUyMm1lZGl1bSUyMiUyQyUyMnNoYXBlJTIyJTNBJTIyY2lyY3VsYXIlMjIlMkMlMjJzdGF0ZXMlMjIlM0ElN0IlMjJpZGxlJTIyJTNBJTdCJTIyY29sb3JzJTIyJTNBJTdCJTIyYmFja2dyb3VuZCUyMiUzQSUyMiUyM2Y5NmMyYyUyMiUyQyUyMmxhYmVsJTIyJTNBJTIyJTIzZmZmZmZmJTIyJTJDJTIyb3V0bGluZSUyMiUzQSUyMiUyM2ZmNzQ1MiUyMiU3RCU3RCUyQyUyMmhvdmVyJTIyJTNBJTdCJTIyY29sb3JzJTIyJTNBJTdCJTIyYmFja2dyb3VuZCUyMiUzQSUyMiUyM2ZmZmZmZiUyMiUyQyUyM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mxpbmslMjIlM0ElN0IlMjJ0eXBlJTIyJTNBJTIybGluayUyMiUyQyUyMnZhbHVlJTIyJTNBJTIyaHR0cHMlM0ElMkYlMkZhcHBzLmFwcGYucmUlMkZqZW5rJTJGZG9jJTJGY2xvdWQlMjIlN0QlN0Q=

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!

Aura inline button
summaryMarketplace
paramsJTdCJTIybGFiZWwlMjIlM0ElMjJNYXJrZXRwbGFjZSUyMiUyQyUyMnNpemUlMjIlM0ElMjJtZWRpdW0lMjIlMkMlMjJzaGFwZSUyMiUzQSUyMmNpcmN1bGFyJTIyJTJDJTIyc3RhdGVzJTIyJTNBJTdCJTIyaWRsZSUyMiUzQSU3QiUyMmNvbG9ycyUyMiUzQSU3QiUyMmJhY2tncm91bmQlMjIlM0ElMjIlMjMzZmIzZjIlMjIlMkMlMjJsYWJlbCUyMiUzQSUyMiUyM2ZmZmZmZiUyMiUyQyUyMm91dGxpbmUlMjIlM0ElMjIlMjMzZmIzZjIlMjIlN0QlN0QlMkMlMjJob3ZlciUyMiUzQSU3QiUyMmNvbG9ycyUyMiUzQSU3QiUyMmJhY2tncm91bmQlMjIlM0ElMjIlMjNmZmZmZmYlMjIlMkMlMjJvdXRsaW5lJTIyJTNBJTIyJTIzMjY4NGZmJTIyJTJDJTIybGFiZWwlMjIlM0ElMjIlMjMzZmIzZjIlMjIlN0QlN0QlN0QlMkMlMjJpY29uJTIyJTNBJTdCJTIycG9zaXRpb24lMjIlM0ElMjJsZWZ0JTIyJTJDJTIyaWNvbiUyMiUzQSUyMmZhLXN0b3JlJTIyJTdEJTJDJTIybGluayUyMiUzQSU3QiUyMnR5cGUlMjIlM0ElMjJsaW5rJTIyJTJDJTIydmFsdWUlMjIlM0ElMjJodHRwcyUzQSUyRiUyRm1hcmtldHBsYWNlLmF0bGFzc2lhbi5jb20lMkZhcHBzJTJGMTIxMTI4NCUyRndlYmhvb2stdG8tamVua2lucy1mb3ItYml0YnVja2V0JTNGaG9zdGluZyUzRGRhdGFjZW50ZXIlMjZ0YWIlM0R2ZXJzaW9ucyUyMiU3RCU3RA==

Contents

Child pages (Children Display)

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!


Aura cards
summaryAppfire Support Need help? Check out our Support portal! Appfire Hub Original Appfire content and resources from the Atlassian ecosystem! Appfire Documentation Need some direction with another Appfire product? Take a look at our documentation!
paramsJTdCJTIyY2FyZHMlMjIlM0ElNUIlN0IlMjJ0aXRsZSUyMiUzQSUyMkFwcGZpcmUlMjBTdXBwb3J0JTIyJTJDJTIyYm9keSUyMiUzQSUyMk5lZWQlMjBoZWxwJTNGJTIwQ2hlY2slMjBvdXQlMjBvdXIlMjBTdXBwb3J0JTIwcG9ydGFsISUyMiUyQyUyMmNvbG9yJTIyJTNBJTIyJTIzRUY3QzhDJTIyJTJDJTIyaWNvbiUyMiUzQSUyMmZhUGFwZXJQbGFuZSUyMiUyQyUyMmltYWdlJTIyJTNBJTdCJTIydmFsdWUlMjIlM0ElMjJodHRwcyUzQSUyRiUyRmltYWdlcy51bnNwbGFzaC5jb20lMkZwaG90by0xNTQwOTc5Mzg4Nzg5LTZjZWUyOGExY2RjOSUzRml4bGliJTNEcmItMS4yLjElMjZpeGlkJTNEZXlKaGNIQmZhV1FpT2pFeU1EZDklMjZhdXRvJTNEZm9ybWF0JTI2Zml0JTNEY3JvcCUyNnclM0Q5MzQlMjZxJTNEMTAwJTIyJTJDJ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