Select Page

Continuous integration server Bamboo up and running

Continuous integration server Bamboo up and running

atlassian.bamboo.logo My Bamboo continuous integration server is now fully functional and available at  http://bamboo.waltercedric.com/

 

 

 

Remember Atlassian is providing free license for Open Source Projects:

Atlassian supports and believes in the Open Source movement – Bamboo utilizes a number of good Open Source components, and Atlassian developers are committers on a large number of Open Source projects.

To give back to the open source community (and hopefully improve the quality of those projects!), Bamboo is free for any Open Source project to use.

There are a few requirements for an Open Source license, the main ones being:

  • Established code base
  • Publicly available project website
  • Using an approved open source license
  • Your Bamboo instance will be publicly accessible

My objective is to make Joomla! and all my projects also running in Bamboo (not only in TeamCity as the limit of 20 builds will be rapidly reached)

Visit it by clicking on the picture

Very quick Bamboo install how to

Install a fresh Tomcat 6 runtime,

Move the war into the ROOT web context of tomcat

Choose free port for HTTP, AJP, and Tomcat server port  in conf/server.xml

<Server port="8050" shutdown="SHUTDOWN">  <Connector port="8051" protocol="HTTP/1.1"             connectionTimeout="20000"             redirectPort="8443"            enableLookup="false"                     useBodyEncodingForURI="true"   <Connector port="8030" protocol="AJP/1.3" redirectPort="8443" />

Copy mysqldriver.jar into /lib

Configure the data source into server.xml

<Host name="localhost"  appBase="webapps"             unpackWARs="true" autoDeploy="true"             xmlValidation="false" xmlNamespaceAware="false">         <Resource name="jdbc/BambooDS" auth="Container" type="javax.sql.DataSource"             username="user"             password="pwd"             driverClassName="com.mysql.jdbc.Driver"                         url="jdbc:mysql://localhost/schema?autoReconnect=true"                         maxActive="20"             validationQuery="select 1" />

Edit /etc/apache/worker.properties

worker.list=ajp13, teamcity, jira, bamboo worker.bamboo.port=8030 worker.bamboo.host=localhost worker.bamboo.type=ajp13 

 

Create a vhost.conf in the subdomains

# vi /srv/www/vhosts/waltercedric.com/subdomains/bamboo/conf/vhost.conf

ServerName bamboo.waltercedric.com  ProxyPass /  ajp://bamboo.waltercedric.com:8030/ <Proxy *>    Order Allow,Deny    Allow from all </Proxy>  <Directory />   Options FollowSymLinks   AllowOverride None </Directory>

To tell plesk to include an overridden vhost.conf, run

# /usr/local/psa/admin/sbin/websrvmng

Restart Apache2

rcapache2 restart

About The Author

I worked with various Insurances companies across Switzerland on online applications handling billion premium volumes. I love to continuously spark my creativity in many different and challenging open-source projects fueled by my great passion for innovation and blockchain technology.In my technical role as a senior software engineer and Blockchain consultant, I help to define and implement innovative solutions in the scope of both blockchain and traditional products, solutions, and services. I can support the full spectrum of software development activities, starting from analyzing ideas and business cases and up to the production deployment of the solutions.I'm the Founder and CEO of Disruptr GmbH.

Categories