CruiseControl Admin

Installation

  1. Download latest cruisecontrol-src-x.y.z.zip file.
  2. Place the zipfile in /util.
  3. Unzip it:
    [lethe] /util% sudo unzip cruisecontrol-src-2.8.2.zip
    
  4. Remove the zipfile.
  5. Create directory or verify that /util/cruisecontrol-work/ exists.
  6. Change directory to cruisecontrol-x.y.z.
  7. Run the build scripts per this advice:

    To build the CruiseControl jars you will need to execute the Ant build scripts in INSTALL_DIR/main, INSTALL_DIR/reporting/jsp and INSTALL_DIR/reporting/dashboard.

    1. Build 'main' code:

      Edit $INSTALL_DIR/main/build.sh, add JAVA_HOME=/util/java/default.

      [lethe] main% sudo sh ./build.sh
      
    2. Build 'reporting/jsp' code:

      Edit $INSTALL_DIR/reporting/jsp/build.sh, add JAVA_HOME=/util/java/default.

      [lethe] jsp% sudo sh ./build.sh
      

      [input] WARNING! Property user.log.dir not set! Please enter the absolute path to the CruiseControl logs directory: /util/cruisecontrol-work/logs

      [input] WARNING! Property user.build.status.file not set! Please enter the name of the current build status file: build.status

      [input] WARNING! Property cruise.build.artifacts.dir not set! Please enter the absolute path to the directory where additional build artifacts are stored: /util/cruisecontrol-work/artifacts

  8. Make this install the default cruisecontrol:
    [lethe] /util% sudo ln -s cruisecontrol-2.8.2/ cruisecontrol
    
  9. Test:
    % java -jar /util/cruisecontrol/main/dist/cruisecontrol-launcher.jar
    
  10. Symlink or verify:
    [lethe] bin% sudo ln -s ../cruisecontrol/main/bin/cruisecontrol.sh cruisecontrol.sh
    

References

  1. http://cruisecontrol.sourceforge.net/gettingstartedsourcedist.html