How to Install Bamboo With JIRA & BitBuckeet Integration in Ubuntu




Install Bamboo With JIRA & BitBuckeet Integration in Ubuntu


What is Bamboo?

Bamboo is a continuous integration server from Atlassian, the makers of JIRA, Confluence and Crowd. Bamboo is free for open-source projects.


What is JIRA?

JIRA is a tool developed by Australian Company Atlassian. It is used for bug tracking, issue tracking, and project management. The name "JIRA" is actually inherited from the Japanese word "Gojira" which means "Godzilla". The basic use of this tool is to track issues, and bugs related to your software and mobile apps.


What is BitBucket?

Bitbucket is a web-based hosting service for projects that use either the Mercurial (since launch) or Git (since October 2011) revision control systems. Bitbucket offers both commercial plans and free accounts.


N.B: Get a Bamboo Server/JIRA Server/BitBucket Server License from https://id.atlassian.com/login?application=mac&continue=https://my.atlassian.com
Create a Account here and Get the License Key. And 2 GB Ram Recommanded for the Server.


Step 1: Install Dependencies For Bamboo:


# apt-get install software-properties-common
# add-apt-repository ppa:openjdk-r/ppa
# apt-get update
# apt-get install openjdk-8-jdk

Step 2: Download & Install Bamboo Server:


# wget https://www.atlassian.com/software/bamboo/downloads/binary/atlassian-bamboo-5.10.1.1.tar.gz
# tar -xvf atlassian-bamboo-5.10.1.1.tar.gz
# mv atlassian-bamboo-5.10.1.1 /opt/bamboo
# cd /opt/bamboo

**N.B: Edit the bamboo-init.properties from the bamboo installation directory and set the bamboo home environment:-

# vi /opt/bamboo/atlassian-bamboo/WEB-INF/classes/bamboo-init.properties

### Add the line at last

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

---- save and quit (:wq) ----

# mkdir -p /home/bamboo/bamboo-home

Step 3: To bamboo as service & auto-start with system boot follow in steps in given below:


# vi /etc/init.d/bamboo

JAVA_OPTS=" -Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms512m -Xmx2048m -XX:NewSize=1536m -XX:MaxNewSize=2048m -XX:SurvivorRatio=6  -XX:MaxPermSize=2048m -XX:+DisableExplicitGC"
export JAVA_OPTS
JAVA_HOME=/usr/share/java/
CATALINA_HOME=/opt/bamboo
export CATALINA_HOME
BAMBOO_HOME=/opt/bamboo/bin
START_BAMBOO=/opt/bamboo/bin/startup.sh
STOP_BAMBOO=/opt/bamboo/bin/shutdown.sh
start() {
echo -n "Starting bamboo: "
cd $BAMBOO_HOME
${START_BAMBOO}
echo "done."
}
stop() {
echo -n "Stopping bamboo"
cd $BAMBOO_HOME
${STOP_BAMBOO}
echo "done."
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
sleep 10
start
;;
*)
echo "Usage: $0 {start|stop|restart}"
esac
exit 0

---- save and quit (:wq) ----

# chmod 755 /etc/init.d/bamboo
# update-rc.d bamboo defaults

** Change Bamboo Service Port Number from 8085 to 80:-

# vi /opt/bamboo/conf/server.xml

Line Number 50: Change the port from 8085 to 80

---- save and quit (:wq) ----

# service bamboo restart

Step 4: Check the Bamboo Installation on Browser:


http://IP-Address

Enter the License Key --> Choose Express Installation --> Fill up required field

Step 5: Download & Install JIRA:


# wget https://downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-7.1.0-jira-7.1.0-x64.bin
# chmod 755 atlassian-jira-software-7.1.0-jira-7.1.0-x64.bin
# ./atlassian-jira-software-7.1.0-jira-7.1.0-x64.bin

Step 6: Check the JIRA Installation on Browser:


http://IP-Address:8080

Then Follow the Instruction and Install it. Get a JIRA Server License from https://id.atlassian.com/login?application=mac&continue=https://my.atlassian.com
Create a Account here and Get the License Key.


Step 7: Download and Install Dependebicies & BitBucket:


# wget https://downloads.atlassian.com/software/stash/downloads/atlassian-bitbucket-4.3.2-x64.bin
# apt-get -y install git
# chmod 755 atlassian-bitbucket-4.3.2-x64.bin
# ./atlassian-bitbucket-4.3.2-x64.bin

Destination Directory: /opt/atlassian/bitbucket
Default location of plugin and other data: /var/atlassian/application-data/bitbucket

N.B: For external database need connector. Download the JDBC Connector.

# wget http://cdn.mysql.com//Downloads/Connector-J/mysql-connector-java-5.1.38.tar.gz
# tar -xvf mysql-connector-java-5.1.38.tar.gz
# cd mysql-connector-java-5.1.38
# cp mysql-connector-java-5.1.38-bin.jar /opt/atlassian/bitbucket/lib
# chown atlbitbucket:atlbitbucket mysql-connector-java-5.1.38-bin.jar
# service atlbitbucket stop
# service atlbitbucket start

Step 8: Check the BitBucket Installation on Browser With Integrated JIRA & Bamboo:


http://IP-Address:7990

Fill up the required field and select Integrate with Jira.
After that provide Jira url connection with port and username with password and select connect.
Select Linked Repository --> Select Add Repository --> Finish.

** To Link Repository From Bitbucket to Bamboo:

Go to Bamboo Administration Right Side Top Panel --> Overview --> Select Application Links from Left Side Panel --> Give the Bamboo Server URL --> Create New Link --> Done.

N.B: Now both Bamboo with JIRA & BitBucket Integration is Done. Find out all the Things altogether from any one server at the Left Top Drop Down List.

Thanks For Visiting on My Blog, For More Tutorials Keep Visiting My Blog.

2 comments

Hello,
Jira is an open source project used for issue tracking Software that is developed by Atlassian. It is primarily used in s issue/bug tracking, and in the project management functions.

How To Install Bamboo With Jira And Bitbuckeet Integration In Ubuntu - Sample Blog >>>>> Download Now

>>>>> Download Full

How To Install Bamboo With Jira And Bitbuckeet Integration In Ubuntu - Sample Blog >>>>> Download LINK

>>>>> Download Now

How To Install Bamboo With Jira And Bitbuckeet Integration In Ubuntu - Sample Blog >>>>> Download Full

>>>>> Download LINK