Newer
Older
<!--
Note to be cross-platform, "environment variables" are only appropriate for
some variables, e.g. ones we set, since properties are case sensitive, even if
the environment variables on your operating system are not, e.g. it will
be ${env.Path} not ${env.PATH} on Windows -->
<property
environment="env"
toupper="true" />
<!-- Note: can not quite use "standard properties" pattern, as in ant files,
since for CC, it is an error if a property file does not exist. -->
<property
name="time.tenMinutes"
value="600" />
<property
name="time.oneHour"
value="3600" />
<property
name="time.twentyFourHours"
value="86400" />
value="31536000" />
<plugin
name="log"
encoding="ISO-8859-1" />
<plugin
name="currentbuildstatuslistener"
file="${env.LOG_DIR}/${project.name}/status.txt" />
<!-- remember, our logDir must be same as logdir specified in CC's web.xml file -->
antscript="${env.RELENG_CONTROL}/ant.sh"
buildfile="${env.RELENG_CONTROL}/cc_project_build.xml"
uselogger="${env.USE_LOGGER}"
usequiet="${env.USE_QUIET}"
savelogdir="${env.LOG_DIR}/${project.name}"
antworkingdir="${env.ANT_WORKING}" />
mailhost="localhost"
logDir="${env.BUILD_HOME}/logs/${project.name}"
returnaddress="${env.BUILD_BUILDMASTER_EMAIL}"
returnname="${env.BUILD_BUILDMASTER_RETURN_NAME}"
skipusers="${env.SKIPUSERS}"
subjectprefix="[${env.BUILD_SUBJECT_PREFIX} ${project.name}]"
failasimportant="false"
buildresultsurl="${env.BUILD_RESULT_URL}/${project.name}">
<always
address="${env.BUILD_ALWAYS_TO_ADDRESS}" />
</plugin>
buildafterfailed="false">
encoding="ISO-8859-1">
dir="${env.PROJECT_TESTS}/${project.name}/results/xml" />
<delete
every="10"
unit="DAY"
ignoreSuffix="true" />
<listeners>
<currentbuildstatuslistener />
</listeners>
<publishers>
antscript="${env.RELENG_CONTROL}/ant.sh"
buildfile="${env.RELENG_CONTROL}/cc_copyArtifacts.xml"
target="copyArtifacts"
uselogger="false"
antWorkingDir="${env.BUILD_HOME}/tmp"
saveLogDir="${env.BUILD_HOME}/tmp">
<property
name="localArtifactsDirectory"
value="${env.PROJECT_ARTIFACTS}/${project.name}" />
<failure
address="${env.FAILED_ADDRESS}"
<propertiesmapper
file="${env.EMAIL_PROPERTIES}" />
</publishers>
</plugin>
<plugin
name="cvs"
cvsroot=":${env.BUILD_CVS_READ_PROTOCOL}:${env.BUILD_CVS_READ_USER}@${env.BUILD_CVS_SERVER}:${env.BUILD_CVS_ROOT}" />
${build.distribution}-${buildBranch}-${buildType}
Also, please note, the order is somewhat important, too.
We order these so the quickest running come first in the list,
so they have an opportunity to "get done" before a longer one starts.
The next criteria is importance
name="cleanup-artifacts-B">
interval="${time.twentyFourHours}">
<exec
workingdir="${env.BUILD_HOME}/releng.control"
command="${env.BUILD_HOME}/releng.control/cleanupArtifacts.sh">
</exec>
</schedule>
<modificationset>
<!-- http://jira.public.thoughtworks.org/browse/CC-766 -->
<!-- need to prevent, or override, default publishers,
especially since the ant default antpublisher will
result in error, if an ant build hasn't ran! -->
<publishers>
</publishers>
</project>
<project
name="wtpbuildTools-R3.0-T"
forceOnly="true">
<schedule
interval="${time.veryLongTime}">
value="R3.0" />
value="HEAD" />
<property
name="releng.dali-mapVersionTag"
value="HEAD" />
<property
name="releng.jsf-mapVersionTag"
value="HEAD" />
value="wtpbuildTools" />
<modificationset>
<!-- http://jira.public.thoughtworks.org/browse/CC-766 -->
name="incubator-R0.5-S">
module="${env.RELENG}"
module="${env.RELENGINCUBATOR}"
value="R0.5" />
value="HEAD" />
name="build.distribution"
value="incubator" />
module="${env.RELENG}"
<cvs
module="${env.RELENGINCUBATOR}"
<ant>
<property
name="buildType"
value="I" />
<property
name="buildBranch"
<property
name="mapVersionTag"
value="HEAD" />
<property
name="build.distribution"
value="incubator" />
</ant>
</schedule>
</project>
name="patches-R1.5-P"
forceOnly="true">
<modificationset>
<!-- http://jira.public.thoughtworks.org/browse/CC-766 -->
value="R1_5_5_patches" />
value="patches" />
<!-- no user notification for patch builds. -->
<publishers>
<antpublisher
antscript="${env.RELENG_CONTROL}/ant.sh"
buildfile="${env.RELENG_CONTROL}/cc_copyArtifacts.xml"
target="copyArtifacts"
uselogger="false"
antWorkingDir="${env.BUILD_HOME}/tmp"
saveLogDir="${env.BUILD_HOME}/tmp">
<property
name="localArtifactsDirectory"
value="${env.PROJECT_ARTIFACTS}/${project.name}" />
</antpublisher>
<failure
address="${env.FAILED_ADDRESS}"
reportWhenFixed="true" />
<propertiesmapper
file="" />
</publishers>
name="wtp-R2.0-M">
tag="R2_0_maintenance"
module="${env.RELENGCOMMON}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
tag="R2_0_maintenance"
module="${env.RELENGEJBTOOLS}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
tag="R2_0_maintenance"
module="${env.RELENGJEETOOLS}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
tag="R2_0_maintenance"
module="${env.RELENGSERVERTOOLS}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
tag="R2_0_maintenance"
module="${env.RELENGSOURCEEDITING}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
tag="R2_0_maintenance"
module="${env.RELENGWEBSERVICES}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
tag="R2_0_maintenance"
module="${env.RELENG}"
tag="R1_0_maintenance"
module="${env.RELENGDALI}"
tag="R1_0_maintenance"
module="${env.RELENGJSF}"
name="buildId"
<property
name="buildBranch"
value="R2.0" />
<property
name="build.distribution"
value="wtp" />
<property
name="mapVersionTag"
value="R2_0_maintenance" />
<property
name="releng.dali-mapVersionTag"
value="R1_0_maintenance" />
<property
name="releng.jsf-mapVersionTag"
value="R1_0_maintenance" />
<property
name="SKIP_JAR_SIGNING"
value="true" />
</ant>
</schedule>
</project>
name="wtp-R2.0-R">
<modificationset
quietperiod="120">
<cvs
tag="R2_0_maintenance"
module="${env.RELENGCOMMON}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
tag="R2_0_maintenance"
module="${env.RELENGEJBTOOLS}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
tag="R2_0_maintenance"
module="${env.RELENGJEETOOLS}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
tag="R2_0_maintenance"
module="${env.RELENGSERVERTOOLS}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
tag="R2_0_maintenance"
module="${env.RELENGSOURCEEDITING}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
tag="R2_0_maintenance"
module="${env.RELENGWEBSERVICES}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
tag="R2_0_maintenance"
module="${env.RELENG}"
<cvs
tag="R1_0_maintenance"
module="${env.RELENGDALI}"
<cvs
tag="R1_0_maintenance"
module="${env.RELENGJSF}"
</modificationset>
<schedule
interval="${time.veryLongTime}">
<ant>
<property
name="buildType"
value="R" />
<property
name="buildId"
value="2.0.2B" />
<property
name="buildBranch"
value="R2.0" />
<property
name="build.distribution"
value="wtp" />
<property
name="mapVersionTag"
value="R2_0_maintenance" />
<property
name="releng.dali-mapVersionTag"
value="R1_0_maintenance" />
<property
name="releng.jsf-mapVersionTag"
value="R1_0_maintenance" />
<property
name="SKIP_JAR_SIGNING"
value="true" />
</ant>
</schedule>
</project>
<project
name="patches-R2.0.2-P">
<modificationset
quietperiod="120">
<cvs
tag="R2_0_2_patches"
module="${env.RELENG}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
tag="R2_0_2_patches"
module="${env.RELENGCOMMON}"
<cvs
tag="R2_0_2_patches"
module="${env.RELENGEJBTOOLS}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
tag="R2_0_2_patches"
module="${env.RELENGJEETOOLS}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
tag="R2_0_2_patches"
module="${env.RELENGSERVERTOOLS}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
tag="R2_0_2_patches"
module="${env.RELENGSOURCEEDITING}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
tag="R2_0_2_patches"
module="${env.RELENGWEBSERVICES}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
tag="R1_0_2_patches"
module="${env.RELENGDALI}"
<cvs
tag="R1_0_2_patches"
module="${env.RELENGJSF}"
</modificationset>
<schedule
interval="${time.veryLongTime}">
<ant>
<property
name="buildType"
value="P" />
<property
name="buildBranch"
<property
name="build.distribution"
value="patches2" />
<property
name="mapVersionTag"
value="R2_0_2_patches" />
<property
name="releng.dali-mapVersionTag"
value="R1_0_2_patches" />
<property
name="releng.jsf-mapVersionTag"
value="R1_0_2_patches" />
<property
name="SKIP_JAR_SIGNING"
value="true" />
</ant>
</schedule>
<!-- no user notification for patch builds. -->
<publishers>
<antpublisher
antscript="${env.RELENG_CONTROL}/ant.sh"
buildfile="${env.RELENG_CONTROL}/cc_copyArtifacts.xml"
target="copyArtifacts"
usequiet="true"
uselogger="false"
antWorkingDir="${env.BUILD_HOME}/tmp"
saveLogDir="${env.BUILD_HOME}/tmp">
name="localArtifactsDirectory"
value="${env.PROJECT_ARTIFACTS}/${project.name}" />
</antpublisher>
<htmlemail
skipusers="true"
logdir="${env.BUILD_HOME}/tmp">
<failure
address="${env.FAILED_ADDRESS}"
reportWhenFixed="true" />
<propertiesmapper
file="" />
</htmlemail>
</publishers>
</project>
<project
name="wtp-R3.0-S">
<modificationset
quietperiod="120">
<cvs
module="${env.RELENG}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
module="${env.RELENGCOMMON}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
module="${env.RELENGEJBTOOLS}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
module="${env.RELENGJEETOOLS}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
module="${env.RELENGSERVERTOOLS}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
module="${env.RELENGSOURCEEDITING}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
module="${env.RELENGWEBSERVICES}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
module="${env.RELENGJSF}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
module="${env.RELENGDALI}"
reallyquiet="${env.CVS_QUIET}" />
</modificationset>
<property
name="buildType"
value="S" />
<property
name="buildId"
<property
name="buildBranch"
value="R3.0" />
<property
name="mapVersionTag"
value="HEAD" />
<property
name="releng.dali-mapVersionTag"
value="HEAD" />
<property
name="releng.jsf-mapVersionTag"
value="HEAD" />
<property
name="build.distribution"
value="wtp" />
</ant>
</schedule>
name="wtp-R3.0-I">
module="${env.RELENG}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
module="${env.RELENGCOMMON}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
module="${env.RELENGEJBTOOLS}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
module="${env.RELENGJEETOOLS}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
module="${env.RELENGSERVERTOOLS}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
module="${env.RELENGSOURCEEDITING}"
reallyquiet="${env.CVS_QUIET}" />
<cvs
module="${env.RELENGWEBSERVICES}"
<property
name="buildBranch"
value="R3.0" />
<property
name="mapVersionTag"
<property
name="releng.dali-mapVersionTag"
value="HEAD" />
<property
name="releng.jsf-mapVersionTag"
value="HEAD" />
<property
name="build.distribution"
value="wtp" />
</ant>
name="wtp-R3.0-N"
<modificationset>
<!-- http://jira.public.thoughtworks.org/browse/CC-766 -->
value="N" />
<!-- in this context, buildBranch is simply a label -->
<property
name="mapVersionTag"
value="HEAD" />
value="wtp" />
<property
name="build.donottagmaps"
value="true" />
<property
name="SKIP_JAR_SIGNING"