Bamboo安装

简介

atlassian Bamboo 是一款持续集成构建服务器软件(Build Server)(非开源软件)。 Bamboo的特点: 简单的用户界面 容易安装 - 顺利的话,5分钟内就可以让运行起来!

平时大家谈到持续集成可能会想到jenkins,但是相信还是有不少人用过Jira,Confluence。这和Bamboo一样都是出自atlassian这家公司。如果搭配起来用的话会很方便···国内Bamboo的资料是少的可怜,就算有也都是相对较老的了,所以决定自己在这里记录一下,分享一些使用经验。

官网地址
https://www.atlassian.com/

环境准备

Bamboo的安装非常简单,只需要JDK1.8的支持

  • Bamboo:5.13
  • Java:1.8
  • OS: Centos7.2

这里安装Bamboo5.13版本,下载地址在这里
https://downloads.atlassian.com/software/bamboo/downloads/atlassian-bamboo-5.13.0.1.tar.gz
安装包有200M+国外网站下载速度比较慢,请耐心等待

1
wget  https://downloads.atlassian.com/software/bamboo/downloads/atlassian-bamboo-5.13.0.1.tar.gz

开始安装

官方的安装文档
https://confluence.atlassian.com/bamboo/installing-bamboo-on-linux-289276792.html

解压安装包

1
tar zxvf atlassian-bamboo-5.13.0.1.tar.gz  -C /data/

设置Bamboo的家目录

1
2
3
4
5
6
vim /data/atlassian-bamboo-5.13.0.1/atlassian-bamboo/WEB-INF/classes/bamboo-init.properties

## You can specify your bamboo.home property here or in your system environment variables.

#bamboo.home=C:/bamboo/bamboo-home
bamboo.home=/data/bamboo-home

启动Bamboo

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/data/atlassian-bamboo-5.13.0.1/bin/start-bamboo.sh 

To run Bamboo in the foreground, start the server with start-bamboo.sh -fg

Server startup logs are located in /opt/logs/catalina.out

Bamboo Server Edition
Version : 5.13.0.1


If you encounter issues starting or stopping Bamboo Server, please see the Troubleshooting guide at https://confluence.atlassian.com/display/BAMBOO/Installing+and+upgrading+Bamboo

Using CATALINA_BASE: /data/atlassian-bamboo-5.13.0.1
Using CATALINA_HOME: /data/atlassian-bamboo-5.13.0.1
Using CATALINA_TMPDIR: /data/atlassian-bamboo-5.13.0.1/temp
Using JRE_HOME: /usr
Using CLASSPATH: /data/atlassian-bamboo-5.13.0.1/bin/bootstrap.jar:/data/atlassian-bamboo-5.13.0.1/bin/tomcat-juli.jar
Tomcat started.

通过浏览器访问Bamboo

为Bamboo申请一个Licenes

复制Server ID

在这里注册一个账号 https://id.atlassian.com/login
注册完成后通过这里申请https://my.atlassian.com/products/index
点击这里申请一个新的Licenes

  • Product选择Bamboo Server
  • Your instance 选择 not installed yet
  • Server ID : BCD7-7F1K-KJWH-N0XY

然后确认,这样就有了一个Lisence key

复制这个Licence Key 粘贴到Bamboo 对应栏
然后选择快速安装

设置管理员信息

完成安装

坚持原创技术分享,您的支持将鼓励我继续创作!