(Update 28/Oct/2019 : We released version 1.0 of the plugin and it is out of beta.)
We’ve been building a plugin to integrate Bitbucket Server and Jenkins CI, and I’m excited to announce that it is now available. 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. Please raise any bugs at https://issues.jenkins-ci.org with atlassian-bitbucket-server-integration-plugin as the component.
Product Manager - Bitbucket Server
Bitbucket Server Integration with Jenkins CI - plugin features
supports Jenkins pipeline and 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
select projects and repositories inside a Jenkins job through a dropdown
automatically send build statuses to commits and pull requests in Bitbucket Server
provides an option to clone from Bitbucket Smart Mirrors
If you’re ready to take it for a spin just watch the short video on Youtube and follow the below steps:
Installing the plugin
In Jenkins go to Jenkins > Manage Jenkins > Manage Plugins
Click the Available tab
Search for Bitbucket Server Integration
Select it from the results and Click Install without restart
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