Tuesday, 27 February 2018

Installation and Setup of Bamboo CI

In this post, we will look at how to install, setup and create the project in the Bamboo CI.
Atlassian’s Bamboo is another great option for continuous integration, deployment, and delivery. It allows you to create multi-stage build plans, set up triggers to start builds upon commits and assign agents to your critical builds and deployments.

What is Bamboo CI?
Bamboo is a continuous integration (CI) server that can be used to automate the release management for a software application, creating a continuous delivery pipeline.
What does CI mean? 
CI is a software development methodology in which a build, unit tests, and integration tests are performed, or triggered, whenever code is committed to the repository, to ensure that new changes integrate well into the existing code base. Integration builds provide early 'fail fast' feedback on the quality of new changes. Release management describes the steps that are typically performed to release a software application, including building and functional testing, tagging releases, assigning versions, and deploying and activating the new version in production.

Installation of Bamboo CI:
Download Bamboo

Download the tar.gz file for your Linux operating system - https://www.atlassian.com/software/bamboo/download

Create the installation directory
      $ mkdir bamboo-home
(a) Extract the downloaded file to an install location.                                                                                    $ tar xvzf atlassian-bamboo-6.3.2.tar.gz                                    
 b)The path to the extracted directory is referred to as in these instructions.

Create the home directory

Specify your Bamboo home directory, where your Bamboo data is stored, before you run Bamboo for the first time.

a) Create your Bamboo home directory (without spaces in the name).

Note: You should not create your Bamboo home directory inside the  <Bamboo installation directory>   — they should be entirely separate locations. If you do put the home directory in <Bamboo installation directory> it will be overwritten and lost, when Bamboo is upgraded. 

b) Open /atlassian-bamboo/WEB-INF/classes/bamboo-init.properties

c) Give the path like bamboo.home .

d) Provide the absolute path absolute path to your home directory.


bamboo.home= /home/usr/bamboo/bamboo-home

Start Bamboo

a) In the command line, change the directory to  and run the following command:


b) In your Web browser, enter the following address: 


Running the setup wizard:

When you launch Bamboo for the first time, the Bamboo setup wizard will display. 
The wizard will lead you through the Bamboo settings that you need to configure before you can start using it.

License details and setup method:

You must have a valid Bamboo license (evaluation or commercial) to use Bamboo. 
You can generate your own Bamboo evaluation license from your MyAtlassian self-service account here:


Once you have entered a valid license key, you can choose which setup method you prefer for your Bamboo installation:

1.Express Installation

2.Custom Installation

Choose Express Installation

The final step of the setup wizard is to enter the details of the first registered user for the Bamboo system.

This user will have global administrative privileges over the entire installation of Bamboo and should not be removed.

Once you have entered the details for your administrator user, click Finish. The Bamboo dashboard will be displayed.

Congratulations, you have successfully set up Bamboo!

Creating a project in Bamboo CI:

Starting Bamboo server 

Navigate to the Bamboo's installation directory and run this command


Creating project and plan in Bamboo CI

First, navigate to https://localhost:8085

then login into the Bamboo CI.

Now click on the create project and fill project name and give the project description

After that we create plan, a plan defines everything about your build process, including what gets built, 
how the build is triggered and what jobs are executed.

Create a new plan

In the top menu bar, click Create > Create the plan.

Complete the build plan details on the Configure plan page. 

Link repository to new build plan:

link previously used repository OR for linking the  new repository

Select your code repository host.
  • Click the Repositories tab to see all the repositories that have been added to the plan. 
  • Click a repository name in the list to edit its configuration details.
  • Click Add repository to configure a repository to be used by the plan. 

For configuration details for a particular repository type, please select one of the following:

Bitbucket (for Bitbucket Cloud)
Stash (for Bitbucket Server)
  • Give your repository a display name.
  • Give User id and password of the repository.
Provide repository URL.

Specify access to the repository. You may choose from:

1.Allow all users to reuse the configuration of this repository 

2.All user access. This is the default access setting.

3.Only you are allowed to reuse the configuration of this repository 
Limit access to just yourself.

Click Configure plan and you are done.

No comments:

Post a Comment

Amazon EKS - Kubernetes on AWS

By Komal Devgaonkar Amazon Elastic Container Service for Kubernetes (Amazon EKS), which is highly available and scalable AWS service....