(Update 27/Sep/2019 : This plugin is in beta now and the previously mentioned upcoming features are included in it.)
We’ve been building a plugin to integrate Bitbucket Server and Jenkins CI, and I’m excited to announce that our beta is ready to download and install. It lets you seamlessly configure a Jenkins job to clone/fetch from Bitbucket Server, removing the need for multiple plugins/apps to achieve the same workflow. To try it out you need Bitbucket Server 5.5+ and Jenkins 2.162+
We’re keen to hear your feedback, so comment with questions, feedback, and feature requests and we’ll get back to you. If you’re interested you can also contribute to our plugin.
Product Manager - Bitbucket Server
Bitbucket Server Integration with Jenkins CI - plugin features
supports Jenkins freestyle job type
provides a simple way for you to connect your Jenkins CI to Bitbucket Server instance
securely manage credentials inside Jenkins for cloning from Bitbucket Server
automatically create a webhook inside a Bitbucket repo when a Jenkins job is saved
it supports Jenkins pipeline job type
select projects and repositories inside a Jenkins job through a dropdown
automatically send build statuses to commits and pull requests in Bitbucket Server
clone from Bitbucket Smart Mirrors without modifying the clone URL
If you’re ready to take it for a spin just follow the below steps:
Installing the plugin
In Jenkins go to Jenkins > Manage Jenkins > Manage Plugins
Select the Advanced tab
Under Upload Plugin click Choose File
Adding a linked Bitbucket Server instance
After installing the plugin you need to configure at least one Bitbucket Server instance. To do this:
In Jenkins go to Jenkins > Manage Jenkins > Configure System
Under Bitbucket Server plugin click Add a Bitbucket instance
Enter the instance details
Configuring the Jenkins job
When a new push happens the build will be triggered. You can then check the build info in Jenkins to see the changeset.
Imran KhanAtlassian Team
Hey Community! I work on the Bitbucket product marketing team. With Halloween approaching, we wanted to discuss a topic tailor-made for October: development horror stories. Whether it was a lurk...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events