Integrating JIRA with Bamboo for build management

Bamboo is the continuous integration and build server from Atlassian. If your development team is using Bamboo, you can integrate it with JIRA and have your build plans as part of your release process.

Getting ready

Since we will be using Bamboo in this recipe, you will need to have a Bamboo instance running. If you do not have one, you can download a free Bamboo trial from https://www.atlassian.com/software/bamboo.

How to do it...

Since we are connecting to another Atlassian application here, we should take advantage of application links:

  1. Navigate to Administration | Applications | Application links.
  2. Enter your Bamboo URL, and create the application link. JIRA should automatically detect the target application as Bamboo. If, for some reason, it does not, make sure you select Bamboo as the Application type when prompted.

How it works...

Once you have integrated JIRA and Bamboo, you will be able to run and release build plans directly from JIRA. All you have to do is select the version to release and select the new Build and Release option, as shown in the next screenshot:

How it works...

From the release dialog shown in the following screenshot, you can select which build plan to use, and run the build by clicking on the Release button. If the build is successful, JIRA will automatically mark the version as released once the build is completed.

How it works...

Another feature you get from integration is that you can get a list with a summary of all the builds for your project by navigating to Overview | Builds.

How it works...

There's more...

Apart from Bamboo, JIRA also supports other build server systems, such as Jenkins and Hudson, via third-party add-ons. You can get the add-on for Jenkins and Hudson from the following link:

https://marketplace.atlassian.com/plugins/com.marvelution.jira.plugins.jenkins

After you have installed the add-on, there will be two new application types to choose from while creating new application links namely, Hudson and Jenkins.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset