blob: dce3a9ccbade457d4d06418f8ade6917df9d6b42 [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. -->
14
15 <!-- remember, our logDir must be same as logdir specified in CC's web.xml file -->
16 <property
17 name="logDir"
18 value="${env.LOG_DIR}/${project.name}" />
19
david_williams42f9b242006-11-27 18:45:14 +000020 <property
21 name="time.tenMinutes"
22 value="600" />
23
24 <property
25 name="time.oneHour"
26 value="3600" />
27
28 <property
29 name="time.VeryVeryLongTime"
30 value="31536000" />
31
32 <plugin
33 name="log"
34 dir="${logDir}"
35 encoding="ISO-8859-1" />
36
37 <plugin
38 name="currentbuildstatuslistener"
david_williams8f07dd12007-07-23 16:32:13 +000039 file="${logDir}/status.txt" />
david_williams42f9b242006-11-27 18:45:14 +000040
41 <plugin
david_williams321daef2007-08-28 02:44:26 +000042 name="ant"
43 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
44 buildfile="${env.BUILD_HOME}/releng.control/cc_project_build.xml"
45 target="Build"
46 useQuiet="${env.USE_QUIET}"
47 useLogger="${env.USE_LOGGER}"
48 savelogdir="${logDir}"
49 usedebug="${env.USE_DEBUG}"
david_williams0985c462007-08-29 18:24:10 +000050 antworkingdir="${env.BUILD_HOME}/releng.control" />
david_williams321daef2007-08-28 02:44:26 +000051
52 <plugin
david_williams42f9b242006-11-27 18:45:14 +000053 name="project"
54 buildafterfailed="true">
david_williams1cc549d2007-08-29 01:28:19 +000055 <dateformat format="yyyy-MM-dd HH:mm '('z')'" />
david_williams42f9b242006-11-27 18:45:14 +000056 <log
57 dir="${logDir}"
david_williams787b6142007-08-22 03:28:28 +000058 encoding="ISO-8859-1">
david_williams321daef2007-08-28 02:44:26 +000059 <merge
60 dir="${env.BUILD_HOME}/tests/${project.name}/results/xml" />
david_williams13d378c2007-08-22 04:04:54 +000061 <delete
62 every="10"
63 unit="DAY"
64 ignoreSuffix="true" />
david_williams321daef2007-08-28 02:44:26 +000065 <gzip
66 every="5"
67 unit="DAY" />
david_williams787b6142007-08-22 03:28:28 +000068 </log>
david_williams42f9b242006-11-27 18:45:14 +000069 <listeners>
70 <currentbuildstatuslistener />
71 </listeners>
72 <modificationset>
73 <forceonly />
74 </modificationset>
david_williams321daef2007-08-28 02:44:26 +000075
david_williams42f9b242006-11-27 18:45:14 +000076 <publishers>
david_williams1cc549d2007-08-29 01:28:19 +000077 <antpublisher
78 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
79 buildfile="${env.BUILD_HOME}/releng.control/cc_copyArtifacts.xml"
80 target="copyArtifacts"
81 useQuiet="${env.USE_QUIET}"
82 useLogger="${env.USE_LOGGER}"
83 savelogdir="${logDir}"
84 usedebug="${env.USE_DEBUG}"
david_williams15b58d62007-08-29 19:30:29 +000085 antworkingdir="${env.BUILD_HOME}/releng.control">
david_williams1cc549d2007-08-29 01:28:19 +000086 <property
87 name="localArtifactsDirectory"
88 value="${env.BUILD_HOME}/artifacts/${project.name}" />
89 </antpublisher>
david_williams42f9b242006-11-27 18:45:14 +000090 <email
91 mailhost="localhost"
92 returnaddress="${env.BUILD_BUILDMASTER_EMAIL}"
david_williams6afd2662007-08-20 06:43:52 +000093 returnname="${env.BUILD_RETURN_NAME}"
david_williams2a12be02007-07-20 03:56:35 +000094 skipusers="${env.SKIPUSERS}"
david_williams42f9b242006-11-27 18:45:14 +000095 subjectprefix="[${project.name}]"
96 spamwhilebroken="false"
97 buildresultsurl="${env.BUILD_RESULT_URL}/${project.name}">
david_williams6afd2662007-08-20 06:43:52 +000098 <always address="${env.BUILD_ALWAYS_TO_ADDRESS}" />
david_williams42f9b242006-11-27 18:45:14 +000099 </email>
david_williams1cc549d2007-08-29 01:28:19 +0000100
david_williams42f9b242006-11-27 18:45:14 +0000101 </publishers>
102 </plugin>
103
104 <plugin
105 name="cvs"
106 cvsroot="${env.CVS_MAIN_REPO}" />
107
david_williams2f3f8432006-12-18 03:18:23 +0000108 <!--
david_williams1d70e162007-09-22 00:50:20 +0000109 Note: projects should be named in the form
david_williams42f9b242006-11-27 18:45:14 +0000110 ${build.distribution}-${buildBranch}-${buildType}
111 -->
112
david_williamsb7035842007-07-22 18:52:34 +0000113 <project
114 name="patches-R1.5-P"
115 forceOnly="true">
david_williams42f9b242006-11-27 18:45:14 +0000116
david_williamsb7035842007-07-22 18:52:34 +0000117 <schedule interval="${time.oneHour}">
david_williams321daef2007-08-28 02:44:26 +0000118 <ant>
david_williams42f9b242006-11-27 18:45:14 +0000119
120 <property
121 name="buildType"
122 value="P" />
david_williams42f9b242006-11-27 18:45:14 +0000123 <property
124 name="buildBranch"
125 value="R1.5" />
126 <property
127 name="checkoutprojectname"
128 value="${project.name}" />
david_williams42f9b242006-11-27 18:45:14 +0000129 <property
130 name="mapVersionTag"
david_williams73fc2052007-09-20 05:13:03 +0000131 value="R1_5_5_patches" />
david_williams42f9b242006-11-27 18:45:14 +0000132 <property
133 name="build.distribution"
134 value="patches" />
david_williams93882182007-09-28 19:38:20 +0000135
david_williams9c03acf2007-09-29 02:51:54 +0000136 <!--
david_williams93882182007-09-28 19:38:20 +0000137 <property
138 name="skipUnitTests"
139 value="yes" />
david_williams9c03acf2007-09-29 02:51:54 +0000140 -->
david_williams42f9b242006-11-27 18:45:14 +0000141 </ant>
142 </schedule>
david_williams42f9b242006-11-27 18:45:14 +0000143 </project>
144
david_williams1d70e162007-09-22 00:50:20 +0000145<!--
david_williams42f9b242006-11-27 18:45:14 +0000146 <project name="wtp-R1.5-M">
david_williamsb7035842007-07-22 18:52:34 +0000147
david_williams42f9b242006-11-27 18:45:14 +0000148 <modificationset quietperiod="120">
149 <cvs
david_williamsc8649f72006-12-06 22:01:56 +0000150 tag="R1_5_maintenance"
david_williams13d378c2007-08-22 04:04:54 +0000151 module="releng"
152 reallyQuiet="${env.CVS_REALLY_QUIET}" />
david_williams42f9b242006-11-27 18:45:14 +0000153 </modificationset>
154
155 <schedule interval="${time.oneHour}">
david_williams321daef2007-08-28 02:44:26 +0000156 <ant>
david_williams42f9b242006-11-27 18:45:14 +0000157
david_williams1d70e162007-09-22 00:50:20 +0000158 <!- - this "M" label should be changed to "R" once maintenance release
david_williams42f9b242006-11-27 18:45:14 +0000159 is warming up for its "R"elease.
david_williams1d70e162007-09-22 00:50:20 +0000160 - ->
david_williams42f9b242006-11-27 18:45:14 +0000161 <property
162 name="buildType"
jlanuti6bef2bb2007-08-20 13:23:55 +0000163 value="R" />
david_williams42f9b242006-11-27 18:45:14 +0000164
165 <property
166 name="buildId"
jlanuti6bef2bb2007-08-20 13:23:55 +0000167 value="1.5.5" />
david_williams42f9b242006-11-27 18:45:14 +0000168 <property
169 name="buildBranch"
170 value="R1.5" />
171
172 <property
173 name="checkoutprojectname"
174 value="${project.name}" />
175
david_williams42f9b242006-11-27 18:45:14 +0000176 <property
177 name="mapVersionTag"
178 value="R1_5_maintenance" />
david_williams42f9b242006-11-27 18:45:14 +0000179 </ant>
180 </schedule>
david_williams42f9b242006-11-27 18:45:14 +0000181 </project>
182
david_williams1d70e162007-09-22 00:50:20 +0000183-->
david_williamsa7f68be2007-06-20 02:17:13 +0000184
david_williams7888d502007-06-29 06:26:51 +0000185 <project name="wtp-R2.0-M">
david_williamsb7035842007-07-22 18:52:34 +0000186
david_williams7888d502007-06-29 06:26:51 +0000187 <modificationset quietperiod="120">
188 <cvs
189 tag="R2_0_maintenance"
david_williams13d378c2007-08-22 04:04:54 +0000190 module="releng"
191 reallyQuiet="${env.CVS_REALLY_QUIET}" />
david_williams7888d502007-06-29 06:26:51 +0000192 <cvs
193 tag="R1_0_maintenance"
david_williams13d378c2007-08-22 04:04:54 +0000194 module="releng.dali"
195 reallyQuiet="${env.CVS_REALLY_QUIET}" />
david_williams7888d502007-06-29 06:26:51 +0000196 <cvs
197 tag="R1_0_maintenance"
david_williams13d378c2007-08-22 04:04:54 +0000198 module="releng-jsf"
199 reallyQuiet="${env.CVS_REALLY_QUIET}" />
david_williams7888d502007-06-29 06:26:51 +0000200 </modificationset>
david_williams42f9b242006-11-27 18:45:14 +0000201
david_williams9c03acf2007-09-29 02:51:54 +0000202 <schedule interval="${time.oneHour}">
david_williams321daef2007-08-28 02:44:26 +0000203 <ant>
david_williams7888d502007-06-29 06:26:51 +0000204
david_williams89e07522007-09-25 13:44:05 +0000205 <property
206 name="buildType"
207 value="M" />
208
209 <property
210 name="buildId"
david_williams9c03acf2007-09-29 02:51:54 +0000211 value="2.0.2" />
david_williams89e07522007-09-25 13:44:05 +0000212 <property
213 name="buildBranch"
214 value="R2.0" />
215 <property
216 name="checkoutprojectname"
217 value="${project.name}" />
218 <property
219 name="mapVersionTag"
220 value="R2_0_maintenance" />
221 <property
222 name="releng.dali-mapVersionTag"
223 value="R1_0_maintenance" />
224 <property
225 name="releng-jsf-mapVersionTag"
226 value="R1_0_maintenance" />
227 </ant>
228 </schedule>
229 </project>
230
231 <project name="wtp-R2.0-R">
232
233 <modificationset quietperiod="120">
234 <cvs
235 tag="R2_0_maintenance"
236 module="releng"
237 reallyQuiet="${env.CVS_REALLY_QUIET}" />
238 <cvs
239 tag="R1_0_maintenance"
240 module="releng.dali"
241 reallyQuiet="${env.CVS_REALLY_QUIET}" />
242 <cvs
243 tag="R1_0_maintenance"
244 module="releng-jsf"
245 reallyQuiet="${env.CVS_REALLY_QUIET}" />
246 </modificationset>
247
david_williams9c03acf2007-09-29 02:51:54 +0000248 <schedule interval="${time.VeryVeryLongTime}">
david_williams89e07522007-09-25 13:44:05 +0000249 <ant>
250
david_williams7888d502007-06-29 06:26:51 +0000251 <property
252 name="buildType"
david_williams1d70e162007-09-22 00:50:20 +0000253 value="R" />
david_williams7888d502007-06-29 06:26:51 +0000254
255 <property
256 name="buildId"
257 value="2.0.1" />
258 <property
259 name="buildBranch"
260 value="R2.0" />
david_williams7888d502007-06-29 06:26:51 +0000261 <property
262 name="checkoutprojectname"
263 value="${project.name}" />
david_williams7888d502007-06-29 06:26:51 +0000264 <property
265 name="mapVersionTag"
266 value="R2_0_maintenance" />
267 <property
268 name="releng.dali-mapVersionTag"
david_williamsc1c3df72007-07-22 15:31:29 +0000269 value="R1_0_maintenance" />
david_williams7888d502007-06-29 06:26:51 +0000270 <property
271 name="releng-jsf-mapVersionTag"
david_williamsc1c3df72007-07-22 15:31:29 +0000272 value="R1_0_maintenance" />
david_williams7888d502007-06-29 06:26:51 +0000273 </ant>
274 </schedule>
david_williams7888d502007-06-29 06:26:51 +0000275 </project>
david_williamsf2350ca2007-07-22 05:02:34 +0000276
david_williams7888d502007-06-29 06:26:51 +0000277 <project name="wtp-R3.0-I">
david_williamsb7035842007-07-22 18:52:34 +0000278
david_williams42f9b242006-11-27 18:45:14 +0000279 <modificationset quietperiod="120">
david_williams13d378c2007-08-22 04:04:54 +0000280 <cvs
281 module="releng"
282 reallyQuiet="${env.CVS_REALLY_QUIET}" />
283 <cvs
284 module="releng-jsf"
285 reallyQuiet="${env.CVS_REALLY_QUIET}" />
286 <cvs
287 module="releng.dali"
288 reallyQuiet="${env.CVS_REALLY_QUIET}" />
david_williams42f9b242006-11-27 18:45:14 +0000289 </modificationset>
290
david_williams68a2ea32007-06-29 06:33:41 +0000291 <schedule interval="${time.oneHour}">
david_williams321daef2007-08-28 02:44:26 +0000292 <ant>
293
david_williams42f9b242006-11-27 18:45:14 +0000294 <property
295 name="buildType"
296 value="I" />
297 <property
298 name="buildBranch"
david_williams7888d502007-06-29 06:26:51 +0000299 value="R3.0" />
david_williams42f9b242006-11-27 18:45:14 +0000300 <property
301 name="checkoutprojectname"
302 value="${project.name}" />
303
304 <property
305 name="mapVersionTag"
306 value="HEAD" />
307 <property
david_williams59916eb2007-07-01 05:37:21 +0000308 name="releng.dali-mapVersionTag"
david_williamsc1c3df72007-07-22 15:31:29 +0000309 value="HEAD" />
david_williams59916eb2007-07-01 05:37:21 +0000310 <property
311 name="releng-jsf-mapVersionTag"
david_williamsc1c3df72007-07-22 15:31:29 +0000312 value="HEAD" />
david_williams59916eb2007-07-01 05:37:21 +0000313 <property
david_williams42f9b242006-11-27 18:45:14 +0000314 name="build.distribution"
315 value="wtp" />
david_williams42f9b242006-11-27 18:45:14 +0000316 </ant>
317 </schedule>
david_williams42f9b242006-11-27 18:45:14 +0000318 </project>
david_williamsc1c3df72007-07-22 15:31:29 +0000319
david_williams1d70e162007-09-22 00:50:20 +0000320
david_williamsc1c3df72007-07-22 15:31:29 +0000321
david_williamsb7035842007-07-22 18:52:34 +0000322 <project
323 name="wtp-R3.0-N"
324 forceOnly="true">
325 <schedule interval="${time.oneHour}">
david_williams321daef2007-08-28 02:44:26 +0000326 <ant>
david_williams42f9b242006-11-27 18:45:14 +0000327 <property
328 name="buildType"
329 value="N" />
330 <!-- in this context, buildBranch is simply a label -->
331 <property
332 name="buildBranch"
david_williams7888d502007-06-29 06:26:51 +0000333 value="R3.0" />
david_williams42f9b242006-11-27 18:45:14 +0000334 <property
335 name="mapVersionTag"
336 value="HEAD" />
337 <property
david_williams59916eb2007-07-01 05:37:21 +0000338 name="releng.dali-mapVersionTag"
david_williamsc1c3df72007-07-22 15:31:29 +0000339 value="HEAD" />
david_williams59916eb2007-07-01 05:37:21 +0000340 <property
341 name="releng-jsf-mapVersionTag"
david_williamsc1c3df72007-07-22 15:31:29 +0000342 value="HEAD" />
david_williams59916eb2007-07-01 05:37:21 +0000343 <property
david_williams42f9b242006-11-27 18:45:14 +0000344 name="build.distribution"
345 value="wtp" />
346 <property
347 name="build.trial"
348 value="true" />
david_williams42f9b242006-11-27 18:45:14 +0000349 </ant>
350 </schedule>
david_williams42f9b242006-11-27 18:45:14 +0000351 </project>
david_williamsc1c3df72007-07-22 15:31:29 +0000352
david_williams1d70e162007-09-22 00:50:20 +0000353
david_williams42f9b242006-11-27 18:45:14 +0000354
david_williamsb7035842007-07-22 18:52:34 +0000355 <project
356 name="wtp-R3.0-S"
357 forceOnly="true">
358 <!-- change 'forceOnly' to false when in milestone phase -->
david_williamsc1c3df72007-07-22 15:31:29 +0000359
david_williamsb7035842007-07-22 18:52:34 +0000360 <modificationset quietperiod="120">
david_williams13d378c2007-08-22 04:04:54 +0000361 <cvs
362 module="releng"
363 reallyQuiet="${env.CVS_REALLY_QUIET}" />
364 <cvs
365 module="releng-jsf"
366 reallyQuiet="${env.CVS_REALLY_QUIET}" />
367 <cvs
368 module="releng.dali"
369 reallyQuiet="${env.CVS_REALLY_QUIET}" />
david_williams272ae562007-07-22 06:47:13 +0000370 </modificationset>
371
david_williamsb7035842007-07-22 18:52:34 +0000372 <schedule interval="${time.oneHour}">
david_williams321daef2007-08-28 02:44:26 +0000373 <ant>
david_williams42f9b242006-11-27 18:45:14 +0000374 <property
375 name="buildType"
376 value="S" />
377 <property
378 name="buildId"
david_williams7888d502007-06-29 06:26:51 +0000379 value="3.0M1" />
david_williams42f9b242006-11-27 18:45:14 +0000380 <property
381 name="buildBranch"
david_williams7888d502007-06-29 06:26:51 +0000382 value="R3.0" />
david_williams42f9b242006-11-27 18:45:14 +0000383 <property
384 name="checkoutprojectname"
385 value="${project.name}" />
david_williams42f9b242006-11-27 18:45:14 +0000386 <property
387 name="mapVersionTag"
388 value="HEAD" />
389 <property
david_williams59916eb2007-07-01 05:37:21 +0000390 name="releng.dali-mapVersionTag"
david_williamsc1c3df72007-07-22 15:31:29 +0000391 value="HEAD" />
david_williams59916eb2007-07-01 05:37:21 +0000392 <property
393 name="releng-jsf-mapVersionTag"
david_williamsc1c3df72007-07-22 15:31:29 +0000394 value="HEAD" />
david_williams59916eb2007-07-01 05:37:21 +0000395 <property
david_williams42f9b242006-11-27 18:45:14 +0000396 name="build.distribution"
397 value="wtp" />
david_williams7512e3a2006-12-18 03:34:39 +0000398 <property
399 name="build.pack-all-in-one"
400 value="true" />
david_williams42f9b242006-11-27 18:45:14 +0000401 </ant>
402 </schedule>
david_williams42f9b242006-11-27 18:45:14 +0000403 </project>
404
david_williams1d70e162007-09-22 00:50:20 +0000405
david_williamsa7f68be2007-06-20 02:17:13 +0000406
david_williamsb7035842007-07-22 18:52:34 +0000407 <project
408 name="wtp-R3.0-R"
409 forceOnly="true">
410 <!-- change forceOnly to false when in release phase -->
david_williamsc1c3df72007-07-22 15:31:29 +0000411
david_williamsb7035842007-07-22 18:52:34 +0000412 <modificationset quietperiod="120">
david_williams13d378c2007-08-22 04:04:54 +0000413 <cvs
414 module="releng"
415 reallyQuiet="${env.CVS_REALLY_QUIET}" />
416 <cvs
417 module="releng-jsf"
418 reallyQuiet="${env.CVS_REALLY_QUIET}" />
419 <cvs
420 module="releng.dali"
421 reallyQuiet="${env.CVS_REALLY_QUIET}" />
david_williams272ae562007-07-22 06:47:13 +0000422 </modificationset>
423
david_williamsb7035842007-07-22 18:52:34 +0000424 <schedule interval="${time.oneHour}">
david_williams321daef2007-08-28 02:44:26 +0000425 <ant>
david_williams42f9b242006-11-27 18:45:14 +0000426 <property
427 name="buildType"
428 value="R" />
429 <property
430 name="buildId"
david_williams7888d502007-06-29 06:26:51 +0000431 value="3.0" />
david_williams42f9b242006-11-27 18:45:14 +0000432 <property
433 name="buildBranch"
david_williams7888d502007-06-29 06:26:51 +0000434 value="R3.0" />
david_williams42f9b242006-11-27 18:45:14 +0000435 <property
436 name="checkoutprojectname"
437 value="${project.name}" />
david_williams42f9b242006-11-27 18:45:14 +0000438 <property
439 name="mapVersionTag"
440 value="HEAD" />
441 <property
david_williams59916eb2007-07-01 05:37:21 +0000442 name="releng.dali-mapVersionTag"
david_williamsc1c3df72007-07-22 15:31:29 +0000443 value="HEAD" />
david_williams59916eb2007-07-01 05:37:21 +0000444 <property
445 name="releng-jsf-mapVersionTag"
david_williamsc1c3df72007-07-22 15:31:29 +0000446 value="HEAD" />
david_williams59916eb2007-07-01 05:37:21 +0000447 <property
david_williams42f9b242006-11-27 18:45:14 +0000448 name="build.distribution"
449 value="wtp" />
david_williams7888d502007-06-29 06:26:51 +0000450 </ant>
451 </schedule>
david_williams7888d502007-06-29 06:26:51 +0000452 </project>
david_williams7888d502007-06-29 06:26:51 +0000453
david_williams1d70e162007-09-22 00:50:20 +0000454
david_williams7888d502007-06-29 06:26:51 +0000455
david_williams13d378c2007-08-22 04:04:54 +0000456 <project
457 name="wtp-buildTools-R3.0-T"
458 forceOnly="true">
david_williams3a888a42007-07-23 04:25:56 +0000459 <schedule interval="${time.VeryVeryLongTime}">
david_williams321daef2007-08-28 02:44:26 +0000460 <ant>
david_williams7888d502007-06-29 06:26:51 +0000461 <property
462 name="buildType"
463 value="T" />
464 <property
465 name="checkoutprojectname"
466 value="${project.name}" />
david_williamsc1c3df72007-07-22 15:31:29 +0000467 <property
468 name="buildBranch"
469 value="R3.0" />
david_williams7888d502007-06-29 06:26:51 +0000470 <property
471 name="mapVersionTag"
472 value="HEAD" />
473 <property
david_williams59916eb2007-07-01 05:37:21 +0000474 name="releng.dali-mapVersionTag"
david_williamsc1c3df72007-07-22 15:31:29 +0000475 value="HEAD" />
david_williams59916eb2007-07-01 05:37:21 +0000476 <property
477 name="releng-jsf-mapVersionTag"
david_williamsc1c3df72007-07-22 15:31:29 +0000478 value="HEAD" />
david_williams59916eb2007-07-01 05:37:21 +0000479 <property
david_williams7888d502007-06-29 06:26:51 +0000480 name="build.distribution"
481 value="wtp-buildTools" />
david_williams42f9b242006-11-27 18:45:14 +0000482 </ant>
483 </schedule>
david_williams42f9b242006-11-27 18:45:14 +0000484 </project>
485
david_williams42f9b242006-11-27 18:45:14 +0000486</cruisecontrol>
487