blob: 821244aad8c8f653aa2c4f5173a82614d2ac1edf [file] [log] [blame]
david_williams42f9b242006-11-27 18:45:14 +00001<cruisecontrol>
2
david_williams2f3f8432006-12-18 03:18:23 +00003 <!--
4 Note to be cross-platform, "environment variables" are only appropriate for
5 some variables, e.g. ones we set, since properties are case sensitive, even if
6 the environment variables on your operating system are not, e.g. it will
david_williams42f9b242006-11-27 18:45:14 +00007 be ${env.Path} not ${env.PATH} on Windows -->
david_williamsa33db8f2006-11-27 23:36:51 +00008 <property
9 environment="env"
10 toupper="true" />
david_williams42f9b242006-11-27 18:45:14 +000011
david_williams2f3f8432006-12-18 03:18:23 +000012 <!-- Note: can not quite use "standard properites" pattern, as in ant files,
david_williams42f9b242006-11-27 18:45:14 +000013 since for CC, it is an error if a property file does not exist. -->
david_williams42f9b242006-11-27 18:45:14 +000014 <property
15 name="time.tenMinutes"
16 value="600" />
david_williams42f9b242006-11-27 18:45:14 +000017 <property
18 name="time.oneHour"
19 value="3600" />
david_williams42f9b242006-11-27 18:45:14 +000020 <property
david_williamsf84a6c82007-12-20 03:51:57 +000021 name="time.twentyFourHours"
22 value="86400" />
david_williamsf84a6c82007-12-20 03:51:57 +000023 <property
david_williams42f9b242006-11-27 18:45:14 +000024 name="time.VeryVeryLongTime"
25 value="31536000" />
david_williams42f9b242006-11-27 18:45:14 +000026 <plugin
27 name="log"
david_williamse8c58d82008-01-02 05:10:09 +000028 dir="${env.LOG_DIR}/${project.name}"
david_williams42f9b242006-11-27 18:45:14 +000029 encoding="ISO-8859-1" />
david_williams42f9b242006-11-27 18:45:14 +000030 <plugin
31 name="currentbuildstatuslistener"
david_williamse8c58d82008-01-02 05:10:09 +000032 file="${env.LOG_DIR}/${project.name}/status.txt" />
33 <!-- remember, our logDir must be same as logdir specified in CC's web.xml file -->
david_williams42f9b242006-11-27 18:45:14 +000034 <plugin
david_williams321daef2007-08-28 02:44:26 +000035 name="ant"
david_williams2e0afe02008-01-02 04:11:40 +000036 antscript="${env.RELENG_CONTROL}/ant.sh"
37 buildfile="${env.RELENG_CONTROL}/cc_project_build.xml"
david_williams321daef2007-08-28 02:44:26 +000038 target="Build"
david_williams321daef2007-08-28 02:44:26 +000039 useLogger="${env.USE_LOGGER}"
david_williamse8c58d82008-01-02 05:10:09 +000040 useQuiet="${env.USE_QUIET}"
david_williamsf88f05c2008-01-02 21:24:46 +000041 savelogdir="${env.LOG_DIR}/${project.name}"
42 antworkingdir="${env.ANT_WORKING}" />
david_williams321daef2007-08-28 02:44:26 +000043 <plugin
david_williams42f9b242006-11-27 18:45:14 +000044 name="project"
45 buildafterfailed="true">
david_williams6c0f7c12007-12-27 04:16:34 +000046 <dateformat
47 format="yyyy-MM-dd HH:mm '('z')'" />
david_williams42f9b242006-11-27 18:45:14 +000048 <log
david_williamse8c58d82008-01-02 05:10:09 +000049 dir="${env.LOG_DIR}/${project.name}"
david_williams787b6142007-08-22 03:28:28 +000050 encoding="ISO-8859-1">
david_williams321daef2007-08-28 02:44:26 +000051 <merge
david_williamse8c58d82008-01-02 05:10:09 +000052 dir="${env.PROJECT_TESTS}/${project.name}/results/xml" />
david_williams13d378c2007-08-22 04:04:54 +000053 <delete
54 every="10"
55 unit="DAY"
56 ignoreSuffix="true" />
david_williams321daef2007-08-28 02:44:26 +000057 <gzip
58 every="5"
59 unit="DAY" />
david_williams787b6142007-08-22 03:28:28 +000060 </log>
david_williams42f9b242006-11-27 18:45:14 +000061 <listeners>
62 <currentbuildstatuslistener />
63 </listeners>
david_williams42f9b242006-11-27 18:45:14 +000064 <publishers>
david_williams1cc549d2007-08-29 01:28:19 +000065 <antpublisher
david_williams2e0afe02008-01-02 04:11:40 +000066 antscript="${env.RELENG_CONTROL}/ant.sh"
67 buildfile="${env.RELENG_CONTROL}/cc_copyArtifacts.xml"
david_williams1cc549d2007-08-29 01:28:19 +000068 target="copyArtifacts"
david_williams3b809b02008-01-02 19:58:00 +000069 useQuiet="true"
david_williams0d90cde2008-01-05 05:59:43 +000070 useLogger="false">
david_williams1cc549d2007-08-29 01:28:19 +000071 <property
72 name="localArtifactsDirectory"
david_williamse8c58d82008-01-02 05:10:09 +000073 value="${env.PROJECT_ARTIFACTS}/${project.name}" />
david_williams1cc549d2007-08-29 01:28:19 +000074 </antpublisher>
david_williams42f9b242006-11-27 18:45:14 +000075 <email
76 mailhost="localhost"
77 returnaddress="${env.BUILD_BUILDMASTER_EMAIL}"
david_williamse8c58d82008-01-02 05:10:09 +000078 returnname="${env.BUILD_BUILDMASTER_RETURN_NAME}"
david_williams2a12be02007-07-20 03:56:35 +000079 skipusers="${env.SKIPUSERS}"
david_williams42f9b242006-11-27 18:45:14 +000080 subjectprefix="[${project.name}]"
81 spamwhilebroken="false"
82 buildresultsurl="${env.BUILD_RESULT_URL}/${project.name}">
david_williams6c0f7c12007-12-27 04:16:34 +000083 <always
84 address="${env.BUILD_ALWAYS_TO_ADDRESS}" />
david_williams42f9b242006-11-27 18:45:14 +000085 </email>
86 </publishers>
87 </plugin>
david_williams42f9b242006-11-27 18:45:14 +000088 <plugin
89 name="cvs"
david_williams2e0afe02008-01-02 04:11:40 +000090 cvsroot=":${env.BUILD_CVS_READ_PROTOCOL}:${env.BUILD_CVS_READ_USER}@${env.BUILD_CVS_SERVER}:${env.BUILD_CVS_ROOT}" />
david_williamsf84a6c82007-12-20 03:51:57 +000091
david_williams53f9de12008-01-02 19:31:06 +000092 <!--
93
david_williams1d70e162007-09-22 00:50:20 +000094 Note: projects should be named in the form
david_williams42f9b242006-11-27 18:45:14 +000095 ${build.distribution}-${buildBranch}-${buildType}
96 -->
david_williamsb7035842007-07-22 18:52:34 +000097 <project
98 name="patches-R1.5-P"
99 forceOnly="true">
david_williams6c0f7c12007-12-27 04:16:34 +0000100 <schedule
101 interval="${time.oneHour}">
david_williams321daef2007-08-28 02:44:26 +0000102 <ant>
david_williams42f9b242006-11-27 18:45:14 +0000103 <property
104 name="buildType"
105 value="P" />
david_williams42f9b242006-11-27 18:45:14 +0000106 <property
107 name="buildBranch"
108 value="R1.5" />
109 <property
david_williams42f9b242006-11-27 18:45:14 +0000110 name="mapVersionTag"
david_williams73fc2052007-09-20 05:13:03 +0000111 value="R1_5_5_patches" />
david_williams42f9b242006-11-27 18:45:14 +0000112 <property
113 name="build.distribution"
114 value="patches" />
david_williamsb9a224f2007-12-13 13:13:47 +0000115 </ant>
116 </schedule>
117 </project>
david_williams5f5f6642007-12-18 03:26:43 +0000118
david_williams4c7b5e92008-01-05 06:49:20 +0000119 <!-- skipCleanBuild causes the most recent build
120 to be re-used to do the Unit Tests
121 <property
david_williamsf84a6c82007-12-20 03:51:57 +0000122 name="skipCleanBuild"
123 value="yes" />
124 -->
david_williams359dc982007-11-19 17:07:36 +0000125
david_williams53f9de12008-01-02 19:31:06 +0000126 <!--
david_williamsf84a6c82007-12-20 03:51:57 +0000127 <property
128 name="skipUnitTests"
129 value="yes" />
130 -->
david_williams53f9de12008-01-02 19:31:06 +0000131
david_williams6c0f7c12007-12-27 04:16:34 +0000132 <project
133 name="wtp-R2.0-M">
134 <modificationset
135 quietperiod="120">
david_williams7888d502007-06-29 06:26:51 +0000136 <cvs
137 tag="R2_0_maintenance"
david_williams359dc982007-11-19 17:07:36 +0000138 module="${env.RELENGMAPS}"
david_williams2e0afe02008-01-02 04:11:40 +0000139 reallyquiet="${env.CVS_REALLY_QUIET}" />
david_williams7888d502007-06-29 06:26:51 +0000140 <cvs
141 tag="R1_0_maintenance"
david_williamsa5570522007-11-16 23:12:47 +0000142 module="${env.RELENGDALI}"
david_williams2e0afe02008-01-02 04:11:40 +0000143 reallyquiet="${env.CVS_REALLY_QUIET}" />
david_williams7888d502007-06-29 06:26:51 +0000144 <cvs
145 tag="R1_0_maintenance"
david_williamsa5570522007-11-16 23:12:47 +0000146 module="${env.RELENGJSF}"
david_williams2e0afe02008-01-02 04:11:40 +0000147 reallyquiet="${env.CVS_REALLY_QUIET}" />
david_williams7888d502007-06-29 06:26:51 +0000148 </modificationset>
david_williams6c0f7c12007-12-27 04:16:34 +0000149 <schedule
150 interval="${time.oneHour}">
david_williams321daef2007-08-28 02:44:26 +0000151 <ant>
david_williams89e07522007-09-25 13:44:05 +0000152 <property
153 name="buildType"
154 value="M" />
david_williams89e07522007-09-25 13:44:05 +0000155 <property
156 name="buildId"
david_williams9c03acf2007-09-29 02:51:54 +0000157 value="2.0.2" />
david_williams89e07522007-09-25 13:44:05 +0000158 <property
159 name="buildBranch"
160 value="R2.0" />
161 <property
david_williams40eb3542008-01-09 23:47:13 +0000162 name="build.distribution"
david_williamse5c8c812008-01-13 00:17:30 +0000163 value="wtp" />
david_williams40eb3542008-01-09 23:47:13 +0000164 <property
david_williams89e07522007-09-25 13:44:05 +0000165 name="mapVersionTag"
166 value="R2_0_maintenance" />
167 <property
168 name="releng.dali-mapVersionTag"
169 value="R1_0_maintenance" />
170 <property
david_williams7f01a0d2007-12-10 02:17:05 +0000171 name="releng.jsf-mapVersionTag"
david_williams89e07522007-09-25 13:44:05 +0000172 value="R1_0_maintenance" />
173 </ant>
174 </schedule>
175 </project>
176
david_williamse5c8c812008-01-13 00:17:30 +0000177 <project
david_williamsa61ed8d2008-01-11 19:43:24 +0000178 name="incubator-R0.5-I">
david_williams1a9d6dd2008-01-08 04:22:33 +0000179 <modificationset
180 quietperiod="120">
181 <cvs
david_williamsa61ed8d2008-01-11 19:43:24 +0000182 module="${env.RELENGMAPS}/releng.incubator"
david_williams1a9d6dd2008-01-08 04:22:33 +0000183 reallyquiet="${env.CVS_REALLY_QUIET}" />
184 </modificationset>
185 <schedule
186 interval="${time.oneHour}">
187 <ant>
188 <property
189 name="buildType"
190 value="I" />
191 <property
192 name="buildBranch"
david_williams8424c212008-01-08 06:25:18 +0000193 value="R0.5" />
david_williams1a9d6dd2008-01-08 04:22:33 +0000194 <property
195 name="mapVersionTag"
196 value="HEAD" />
197 <property
198 name="build.distribution"
199 value="incubator" />
200 </ant>
201 </schedule>
202 </project>
david_williams6c0f7c12007-12-27 04:16:34 +0000203 <project
204 name="wtp-R3.0-I">
205 <modificationset
206 quietperiod="120">
david_williams13d378c2007-08-22 04:04:54 +0000207 <cvs
david_williams359dc982007-11-19 17:07:36 +0000208 module="${env.RELENGMAPS}"
david_williams2e0afe02008-01-02 04:11:40 +0000209 reallyquiet="${env.CVS_REALLY_QUIET}" />
david_williams13d378c2007-08-22 04:04:54 +0000210 <cvs
david_williamsa5570522007-11-16 23:12:47 +0000211 module="${env.RELENGJSF}"
david_williams2e0afe02008-01-02 04:11:40 +0000212 reallyquiet="${env.CVS_REALLY_QUIET}" />
david_williams13d378c2007-08-22 04:04:54 +0000213 <cvs
david_williamsa5570522007-11-16 23:12:47 +0000214 module="${env.RELENGDALI}"
david_williams2e0afe02008-01-02 04:11:40 +0000215 reallyquiet="${env.CVS_REALLY_QUIET}" />
david_williams42f9b242006-11-27 18:45:14 +0000216 </modificationset>
david_williams6c0f7c12007-12-27 04:16:34 +0000217 <schedule
david_williams65d8af62008-01-07 23:01:38 +0000218 interval="${time.oneHour}">
david_williams321daef2007-08-28 02:44:26 +0000219 <ant>
david_williams42f9b242006-11-27 18:45:14 +0000220 <property
221 name="buildType"
222 value="I" />
223 <property
224 name="buildBranch"
david_williams7888d502007-06-29 06:26:51 +0000225 value="R3.0" />
david_williams42f9b242006-11-27 18:45:14 +0000226 <property
david_williams42f9b242006-11-27 18:45:14 +0000227 name="mapVersionTag"
228 value="HEAD" />
229 <property
david_williams59916eb2007-07-01 05:37:21 +0000230 name="releng.dali-mapVersionTag"
david_williamsc1c3df72007-07-22 15:31:29 +0000231 value="HEAD" />
david_williams59916eb2007-07-01 05:37:21 +0000232 <property
david_williams7f01a0d2007-12-10 02:17:05 +0000233 name="releng.jsf-mapVersionTag"
david_williamsc1c3df72007-07-22 15:31:29 +0000234 value="HEAD" />
david_williams59916eb2007-07-01 05:37:21 +0000235 <property
david_williams42f9b242006-11-27 18:45:14 +0000236 name="build.distribution"
237 value="wtp" />
david_williams42f9b242006-11-27 18:45:14 +0000238 </ant>
239 </schedule>
david_williams42f9b242006-11-27 18:45:14 +0000240 </project>
david_williamsb7035842007-07-22 18:52:34 +0000241 <project
242 name="wtp-R3.0-N"
243 forceOnly="true">
david_williams6c0f7c12007-12-27 04:16:34 +0000244 <schedule
245 interval="${time.VeryVeryLongTime}">
david_williams321daef2007-08-28 02:44:26 +0000246 <ant>
david_williams42f9b242006-11-27 18:45:14 +0000247 <property
248 name="buildType"
249 value="N" />
250 <!-- in this context, buildBranch is simply a label -->
251 <property
252 name="buildBranch"
david_williams7888d502007-06-29 06:26:51 +0000253 value="R3.0" />
david_williams42f9b242006-11-27 18:45:14 +0000254 <property
255 name="mapVersionTag"
256 value="HEAD" />
257 <property
david_williams59916eb2007-07-01 05:37:21 +0000258 name="releng.dali-mapVersionTag"
david_williamsc1c3df72007-07-22 15:31:29 +0000259 value="HEAD" />
david_williams59916eb2007-07-01 05:37:21 +0000260 <property
david_williams7f01a0d2007-12-10 02:17:05 +0000261 name="releng.jsf-mapVersionTag"
david_williamsc1c3df72007-07-22 15:31:29 +0000262 value="HEAD" />
david_williams59916eb2007-07-01 05:37:21 +0000263 <property
david_williams42f9b242006-11-27 18:45:14 +0000264 name="build.distribution"
265 value="wtp" />
266 <property
267 name="build.trial"
268 value="true" />
david_williams42f9b242006-11-27 18:45:14 +0000269 </ant>
270 </schedule>
david_williams42f9b242006-11-27 18:45:14 +0000271 </project>
david_williamsc1c3df72007-07-22 15:31:29 +0000272
david_williams42f9b242006-11-27 18:45:14 +0000273
david_williams359dc982007-11-19 17:07:36 +0000274 <!-- remove 'forceOnly' once we move into this phase of building -->
david_williams6c0f7c12007-12-27 04:16:34 +0000275 <project
276 name="wtp-R3.0-S">
277 <modificationset
278 quietperiod="120">
279 <cvs
280 module="${env.RELENGMAPS}"
david_williams0d90cde2008-01-05 05:59:43 +0000281 reallyquiet="${env.CVS_REALLY_QUIET}" />
david_williams6c0f7c12007-12-27 04:16:34 +0000282 <cvs
283 module="${env.RELENGJSF}"
david_williams0d90cde2008-01-05 05:59:43 +0000284 reallyquiet="${env.CVS_REALLY_QUIET}" />
david_williams6c0f7c12007-12-27 04:16:34 +0000285 <cvs
286 module="${env.RELENGDALI}"
david_williams0d90cde2008-01-05 05:59:43 +0000287 reallyquiet="${env.CVS_REALLY_QUIET}" />
david_williams272ae562007-07-22 06:47:13 +0000288 </modificationset>
david_williams6c0f7c12007-12-27 04:16:34 +0000289 <schedule
david_williams65d8af62008-01-07 23:01:38 +0000290 interval="${time.VeryVeryLongTime}">
david_williams6c0f7c12007-12-27 04:16:34 +0000291 <ant>
292 <property
293 name="buildType"
294 value="S" />
295 <property
296 name="buildId"
david_williams3bac6ae2007-12-27 06:52:52 +0000297 value="3.0M4" />
david_williams6c0f7c12007-12-27 04:16:34 +0000298 <property
299 name="buildBranch"
300 value="R3.0" />
301 <property
david_williams6c0f7c12007-12-27 04:16:34 +0000302 name="mapVersionTag"
303 value="HEAD" />
304 <property
305 name="releng.dali-mapVersionTag"
306 value="HEAD" />
307 <property
308 name="releng.jsf-mapVersionTag"
309 value="HEAD" />
310 <property
311 name="build.distribution"
312 value="wtp" />
david_williamsf54db102008-01-13 06:48:17 +0000313
david_williams6c0f7c12007-12-27 04:16:34 +0000314 </ant>
david_williams42f9b242006-11-27 18:45:14 +0000315 </schedule>
david_williams6c0f7c12007-12-27 04:16:34 +0000316 </project>
317
david_williams13d378c2007-08-22 04:04:54 +0000318 <project
david_williams90455b32008-01-09 01:50:07 +0000319 name="wtpbuildTools-R3.0-T"
david_williams13d378c2007-08-22 04:04:54 +0000320 forceOnly="true">
david_williams6c0f7c12007-12-27 04:16:34 +0000321 <schedule
322 interval="${time.VeryVeryLongTime}">
david_williams321daef2007-08-28 02:44:26 +0000323 <ant>
david_williams7888d502007-06-29 06:26:51 +0000324 <property
325 name="buildType"
326 value="T" />
327 <property
david_williamsc1c3df72007-07-22 15:31:29 +0000328 name="buildBranch"
329 value="R3.0" />
david_williams7888d502007-06-29 06:26:51 +0000330 <property
331 name="mapVersionTag"
332 value="HEAD" />
333 <property
david_williams59916eb2007-07-01 05:37:21 +0000334 name="releng.dali-mapVersionTag"
david_williamsc1c3df72007-07-22 15:31:29 +0000335 value="HEAD" />
david_williams59916eb2007-07-01 05:37:21 +0000336 <property
david_williams7f01a0d2007-12-10 02:17:05 +0000337 name="releng.jsf-mapVersionTag"
david_williamsc1c3df72007-07-22 15:31:29 +0000338 value="HEAD" />
david_williams59916eb2007-07-01 05:37:21 +0000339 <property
david_williams7888d502007-06-29 06:26:51 +0000340 name="build.distribution"
david_williams90455b32008-01-09 01:50:07 +0000341 value="wtpbuildTools" />
david_williams42f9b242006-11-27 18:45:14 +0000342 </ant>
343 </schedule>
david_williams42f9b242006-11-27 18:45:14 +0000344 </project>
david_williamsf54db102008-01-13 06:48:17 +0000345
david_williams6c0f7c12007-12-27 04:16:34 +0000346 <project
david_williamse5c8c812008-01-13 00:17:30 +0000347 name="cleanup-artifacts-B">
david_williams6c0f7c12007-12-27 04:16:34 +0000348 <schedule
david_williams1fe26872008-01-12 23:23:44 +0000349 interval="${time.oneHour}">
david_williamsf84a6c82007-12-20 03:51:57 +0000350 <exec
351 workingdir="${env.BUILD_HOME}/releng.control"
david_williamsd83c1ee2007-12-20 05:47:16 +0000352 command="${env.BUILD_HOME}/releng.control/cleanupArtifacts.sh">
353 </exec>
david_williamsf84a6c82007-12-20 03:51:57 +0000354 </schedule>
david_williamsd83c1ee2007-12-20 05:47:16 +0000355 <!-- need to prevent, or override, default publishers,
david_williams53f9de12008-01-02 19:31:06 +0000356 especially since the ant default antpublisher will
david_williamsd83c1ee2007-12-20 05:47:16 +0000357 result in error, if an ant build hasn't ran -->
358 <publishers>
359 </publishers>
david_williamsf84a6c82007-12-20 03:51:57 +0000360 </project>
david_williamsf54db102008-01-13 06:48:17 +0000361
david_williams6c0f7c12007-12-27 04:16:34 +0000362</cruisecontrol>