Friday, December 4, 2009

Setup CruiseControl on CentOS 5.4

1. Install Java:
yum install java java-1.6.0-openjdk-devel

2. Install Junit:
yum install junit

3. Install CVS
yum install cvs

4. Install CruiseControl/ANT
Download the current CruiseControl, cruisecontrol-bin-2.8.2.zip, from http://cruisecontrol.sourceforge.net/download.html, then unzip the file to /usr/share/cruisecontrol-bin-2.8.2. Set $ANT_HOME to /usr/share/cruisecontrol-bin-2.8.2/apache-ant-1.7.0, and PATH to include $ANT_HOME/bin and /usr/share/cruisecontrol-bin-2.8.2. Run 'ant -diagnostics' to make sure ANT is installed properly.

After above software get installed, follow the step-by-step instructions in http://cruisecontrol.sourceforge.net/download.html to create a simple CruiseControl build environment should be pretty easy.

1 comment:

renjith said...

how to Set $ANT_HOME to /usr/share/cruisecontrol-bin-2.8.2/apache-ant-1.7.0, and how to create PATH to include $ANT_HOME/bin and /usr/share/cruisecontrol-bin-2.8.2