Project

General

Profile

Support #318

Add Continuous Integration Support

Added by Luke Murphey about 13 years ago. Updated about 13 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Build and Packaging
Target version:
-
Start date:
Due date:
% Done:

0%


Description

History

#1 Updated by Luke Murphey about 13 years ago

Manual builds can be disabled using in cruisecontrol using the cc.config.forcebuild parameter

#2 Updated by Luke Murphey about 13 years ago

Need a build system that:

  • Executes a build only when the application changes and only after a quiet period occurs (a period of no changes)
  • Posts a dashboard with a summary of build statuses
  • Posts the deliverables from the build script on a dashboard
  • Posts the build log in a dashboard
  • Sends an email when the build fails or succeeds

#4 Updated by Luke Murphey about 13 years ago

Need to change to the path that the ant script exists since it assumes that the script will be run from the current directory. Below is example of using a delegating build script from http://cruisecontrol.sourceforge.net/gettingstartedsourcedist.html:

<!-- Delegating build script, used by cruisecontrol to build MY_PROJECT_1.
     Note that the basedir is set to the checked out project -->
<project name="build-MY_PROJECT_1" 
        default="build" 
        basedir="projects/MY_PROJECT_1">
    <target name="build">
        <!-- Get the latest from CVS -->
        <cvs command="up -d -P"/>
        <!-- Call the target that does everything -->
        <ant antfile="build.xml" target="build-everything"/>
    </target>
</project>

#5 Updated by Luke Murphey about 13 years ago

Cruise control works provided the following ant script is used:

/usr/bin/ant "$@" 

along with the following local properties file:

value.build.licensekey=OP3U-AIJ9-YFVB-TQX3-365U
value.test.licensekey=OP3U-AIJ9-YFVB-TQX3-365U
#value.test.resturl=http://127.0.0.1:8081/rest/NSIA/
value.build.workingcopy.directory=/Users/lmurphey/Documents/Cruise Control/cruisecontrol-bin-2.8.4/projects/nsia/trunk
value.build.makensis.directory=/opt/local/bin
value.test.junitformat=brief
value.test.report.directory=/Users/lmurphey/Documents/Cruise Control/cruisecontrol-bin-2.8.4/projects/nsia/trunk/tmp/test_report
value.build.packageoutput.directory=/Users/lmurphey/Documents/Cruise Control/cruisecontrol-bin-2.8.4/projects/nsia/trunk/tmp/packages
value.build.java_output=/Users/lmurphey/Documents/Cruise Control/cruisecontrol-bin-2.8.4/projects/nsia/trunktmp/java

Also available in: Atom PDF