blob: bd1f2722fd2838bfd6aaf90d662209a6c55cdad2 [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
20
21 <property
22 name="time.tenMinutes"
23 value="600" />
24
25 <property
26 name="time.oneHour"
27 value="3600" />
28
29 <property
30 name="time.VeryVeryLongTime"
31 value="31536000" />
32
33 <plugin
34 name="log"
35 dir="${logDir}"
36 encoding="ISO-8859-1" />
37
38 <plugin
39 name="currentbuildstatuslistener"
40 file="${logDir}/buildstatus.html" />
41
42 <plugin
david_williamsa33db8f2006-11-27 23:36:51 +000043 name="dateformat"
44 format="yyyyMMdd-HHmm z" />
45
46 <plugin
david_williams42f9b242006-11-27 18:45:14 +000047 name="project"
48 buildafterfailed="true">
49 <dateformat format="yyyyMMdd-HHmm z" />
50 <log
51 dir="${logDir}"
52 encoding="ISO-8859-1" />
david_williams42f9b242006-11-27 18:45:14 +000053 <listeners>
54 <currentbuildstatuslistener />
55 </listeners>
56 <modificationset>
57 <forceonly />
58 </modificationset>
59 <publishers>
60 <email
61 mailhost="localhost"
62 returnaddress="${env.BUILD_BUILDMASTER_EMAIL}"
63 skipusers="false"
64 subjectprefix="[${project.name}]"
65 spamwhilebroken="false"
66 buildresultsurl="${env.BUILD_RESULT_URL}/${project.name}">
67 <always address="${env.BUILD_TOADDRESS}" />
68 </email>
69 </publishers>
70 </plugin>
71
72 <plugin
73 name="cvs"
74 cvsroot="${env.CVS_MAIN_REPO}" />
75
david_williams2f3f8432006-12-18 03:18:23 +000076 <!--
77 Note: projects should normally be named in the form
david_williams42f9b242006-11-27 18:45:14 +000078 ${build.distribution}-${buildBranch}-${buildType}
79 -->
80
david_williams10566a52006-12-05 09:18:30 +000081 <project name="patches-R1.5-P">
david_williams42f9b242006-11-27 18:45:14 +000082
david_williamsa33db8f2006-11-27 23:36:51 +000083 <schedule interval="${time.VeryVeryLongTime}">
david_williams42f9b242006-11-27 18:45:14 +000084 <ant
85 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
86 buildfile="cc_project_build.xml"
87 target="Build"
88 useQuiet="false"
89 useLogger="false"
90 savelogdir="${logDir}"
91 usedebug="false"
92 antworkingdir="${env.BUILD_HOME}/releng.control">
93
94 <property
95 name="buildType"
96 value="P" />
97
david_williams2f3f8432006-12-18 03:18:23 +000098 <!-- need to make this build ID a better variable,
99 especially for this 'patch' case
david_williams42f9b242006-11-27 18:45:14 +0000100 <property
101 name="buildId"
102 value="B163391" />
david_williams10566a52006-12-05 09:18:30 +0000103 -->
david_williams42f9b242006-11-27 18:45:14 +0000104 <property
105 name="buildBranch"
106 value="R1.5" />
107 <property
108 name="checkoutprojectname"
109 value="${project.name}" />
110
111 <property
112 name="mapVersionTag"
113 value="R1_5_maintenance_patches" />
114
115 <property
116 name="build.distribution"
117 value="patches" />
118
119
120 </ant>
121 </schedule>
122
123 </project>
124
125
126 <!-- ++++++++++++++++ -->
127 <!-- R1.0 MAINTENANCE -->
128 <!-- ++++++++++++++++ -->
129 <project name="wtp-R1.0-M">
130
131 <!-- Defines where cruise looks for changes, to decide whether to run the build -->
132 <modificationset quietperiod="120">
133 <cvs
134 tag="R1_0_maintenance"
135 module="releng" />
david_williams42f9b242006-11-27 18:45:14 +0000136 </modificationset>
137
138 <schedule interval="${time.VeryVeryLongTime}">
139 <ant
140 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
141 buildfile="cc_project_build.xml"
142 target="Build"
143 useQuiet="false"
144 useLogger="false"
145 savelogdir="${logDir}"
146 usedebug="false"
147 antworkingdir="${env.BUILD_HOME}/releng.control">
148
149 <!-- this "M" label should be changed to "R" once maintenance release
150 is warming up for its "R"elease.
151 -->
152 <property
153 name="buildType"
154 value="R" />
155 <!-- should comment out pre-spec'd coded buildId, once R-1.0.2 is declared -->
156
157 <property
158 name="buildId"
159 value="1.0.3" />
160 <property
161 name="buildBranch"
162 value="R1.0" />
163
164 <property
165 name="checkoutprojectname"
166 value="${project.name}" />
167
168 <property
169 name="mapVersionTag"
170 value="R1_0_maintenance" />
171 <property
172 name="build.distribution"
173 value="wtp" />
174
175
176 </ant>
177 </schedule>
178
179 </project>
180
181 <!-- ++++++++++++++++ -->
182 <!-- R1.5 MAINTENANCE -->
183 <!-- ++++++++++++++++ -->
184 <project name="wtp-R1.5-M">
185 <!-- Defines where cruise looks for changes, to decide whether to run the build -->
186 <modificationset quietperiod="120">
187 <cvs
david_williamsc8649f72006-12-06 22:01:56 +0000188 tag="R1_5_maintenance"
david_williams42f9b242006-11-27 18:45:14 +0000189 module="releng" />
david_williams2f3f8432006-12-18 03:18:23 +0000190
david_williams42f9b242006-11-27 18:45:14 +0000191 </modificationset>
192
193 <schedule interval="${time.oneHour}">
194 <ant
195 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
196 buildfile="cc_project_build.xml"
197 target="Build"
198 useQuiet="false"
199 useLogger="false"
200 savelogdir="${logDir}"
201 usedebug="false"
202 antworkingdir="${env.BUILD_HOME}/releng.control">
203
204 <!-- this "M" label should be changed to "R" once maintenance release
205 is warming up for its "R"elease.
206 -->
207 <property
208 name="buildType"
jlanuti860505d2007-05-02 13:49:31 +0000209 value="R" />
david_williams42f9b242006-11-27 18:45:14 +0000210
211 <property
212 name="buildId"
jlanuti860505d2007-05-02 13:49:31 +0000213 value="1.5.4" />
david_williams42f9b242006-11-27 18:45:14 +0000214 <property
215 name="buildBranch"
216 value="R1.5" />
217
218 <property
219 name="checkoutprojectname"
220 value="${project.name}" />
221
222
223 <property
224 name="mapVersionTag"
225 value="R1_5_maintenance" />
226
227
228 </ant>
229 </schedule>
david_williamsa33db8f2006-11-27 23:36:51 +0000230
david_williams42f9b242006-11-27 18:45:14 +0000231 </project>
232
233
234 <project name="wtp-R2.0-I">
235 <!-- Defines where cruise looks for changes, to decide whether to run the build -->
236 <modificationset quietperiod="120">
237 <cvs module="releng" />
238 <cvs module="releng-jsf" />
239 <cvs module="releng.dali" />
david_williams2f3f8432006-12-18 03:18:23 +0000240
david_williams42f9b242006-11-27 18:45:14 +0000241 </modificationset>
242
243 <schedule interval="${time.oneHour}">
244 <ant
245 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
246 buildfile="cc_project_build.xml"
247 target="Build"
248 useQuiet="false"
249 useLogger="false"
250 savelogdir="${logDir}"
251 usedebug="false"
252 antworkingdir="${env.BUILD_HOME}/releng.control">
253 <property
254 name="buildType"
255 value="I" />
256 <property
257 name="buildBranch"
258 value="R2.0" />
259 <property
260 name="checkoutprojectname"
261 value="${project.name}" />
262
263 <property
264 name="mapVersionTag"
265 value="HEAD" />
266 <property
267 name="build.distribution"
268 value="wtp" />
269
270
271 </ant>
272 </schedule>
david_williamsa33db8f2006-11-27 23:36:51 +0000273
david_williams42f9b242006-11-27 18:45:14 +0000274 </project>
275
276
277 <project name="wtp-R2.0-N">
278
david_williamsa33db8f2006-11-27 23:36:51 +0000279 <schedule interval="${time.VeryVeryLongTime}">
david_williams42f9b242006-11-27 18:45:14 +0000280 <ant
281 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
282 buildfile="cc_project_build.xml"
283 target="Build"
284 useQuiet="false"
285 useLogger="false"
286 savelogdir="${logDir}"
287 usedebug="false"
288 antworkingdir="${env.BUILD_HOME}/releng.control">
289 <property
290 name="buildType"
291 value="N" />
292 <!-- in this context, buildBranch is simply a label -->
293 <property
294 name="buildBranch"
295 value="R2.0" />
296 <property
297 name="mapVersionTag"
298 value="HEAD" />
299 <property
300 name="build.distribution"
301 value="wtp" />
302 <property
303 name="build.trial"
304 value="true" />
305
306
307 </ant>
308 </schedule>
david_williamsa33db8f2006-11-27 23:36:51 +0000309
david_williams42f9b242006-11-27 18:45:14 +0000310 </project>
311
312
313 <project name="wtp-R2.0-S">
314 <!-- Defines where cruise looks for changes, to decide whether to run the build -->
315 <modificationset quietperiod="120">
316 <cvs module="releng" />
317 <cvs module="releng-jsf" />
318 <cvs module="releng.dali" />
david_williams2f3f8432006-12-18 03:18:23 +0000319
david_williams42f9b242006-11-27 18:45:14 +0000320 </modificationset>
321
david_williams1a724072007-02-03 07:24:20 +0000322 <schedule interval="${time.VeryVeryLongTime}">
david_williams42f9b242006-11-27 18:45:14 +0000323 <ant
324 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
325 buildfile="cc_project_build.xml"
326 target="Build"
327 useQuiet="false"
328 useLogger="false"
329 savelogdir="${logDir}"
330 usedebug="false"
331 antworkingdir="${env.BUILD_HOME}/releng.control">
332 <property
333 name="buildType"
334 value="S" />
335 <property
336 name="buildId"
david_williams2f3f8432006-12-18 03:18:23 +0000337 value="2.0M4" />
david_williams42f9b242006-11-27 18:45:14 +0000338 <property
339 name="buildBranch"
340 value="R2.0" />
341 <property
342 name="checkoutprojectname"
343 value="${project.name}" />
344
345 <property
346 name="mapVersionTag"
347 value="HEAD" />
348 <property
349 name="build.distribution"
350 value="wtp" />
david_williams7512e3a2006-12-18 03:34:39 +0000351 <property
352 name="build.pack-all-in-one"
353 value="true" />
david_williams42f9b242006-11-27 18:45:14 +0000354
355 </ant>
356 </schedule>
357
david_williamsa33db8f2006-11-27 23:36:51 +0000358
david_williams42f9b242006-11-27 18:45:14 +0000359 </project>
360
david_williamse3efab52007-02-26 04:09:53 +0000361 <project name="wtp-buildTools-R2.0-T">
362 <!-- Defines where cruise looks for changes, to decide whether to run the build -->
363 <modificationset quietperiod="120">
364 <cvs module="releng" />
365 </modificationset>
366
367 <schedule interval="${time.VeryVeryLongTime}">
368 <ant
369 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
370 buildfile="cc_project_build.xml"
371 target="Build"
372 useQuiet="false"
373 useLogger="false"
374 savelogdir="${logDir}"
375 usedebug="false"
376 antworkingdir="${env.BUILD_HOME}/releng.control">
377 <property
378 name="buildType"
379 value="T" />
380 <property
381 name="checkoutprojectname"
382 value="${project.name}" />
383
384 <property
385 name="buildBranch"
386 value="R2.0" />
387
388 <property
389 name="mapVersionTag"
390 value="HEAD" />
391 <property
392 name="build.distribution"
393 value="wtp-buildTools" />
394
395
396 </ant>
397 </schedule>
398
399 </project>
david_williams42f9b242006-11-27 18:45:14 +0000400
401 <project name="wtp-thirdparty-R2.0-T">
402 <!-- Defines where cruise looks for changes, to decide whether to run the build -->
403 <modificationset quietperiod="120">
404 <cvs module="releng-thirdparty" />
405 </modificationset>
406
david_williams73f10e72006-11-28 04:19:50 +0000407 <schedule interval="${time.VeryVeryLongTime}">
david_williams42f9b242006-11-27 18:45:14 +0000408 <ant
409 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
410 buildfile="cc_project_build.xml"
411 target="Build"
412 useQuiet="false"
413 useLogger="false"
414 savelogdir="${logDir}"
415 usedebug="false"
416 antworkingdir="${env.BUILD_HOME}/releng.control">
417 <property
418 name="buildType"
419 value="T" />
420 <property
421 name="checkoutprojectname"
422 value="${project.name}" />
423
424 <property
425 name="buildBranch"
426 value="R2.0" />
427
428 <property
429 name="mapVersionTag"
430 value="HEAD" />
431 <property
432 name="build.distribution"
433 value="wtp-thirdparty" />
434
435
436 </ant>
437 </schedule>
david_williamsa33db8f2006-11-27 23:36:51 +0000438
david_williams42f9b242006-11-27 18:45:14 +0000439 </project>
440
441
442 <project name="wtp-R2.0-R">
443 <!-- Defines where cruise looks for changes, to decide whether to run the build -->
444 <modificationset quietperiod="120">
445 <cvs module="releng" />
446 <cvs module="releng-jsf" />
447 <cvs module="releng.dali" />
david_williams2f3f8432006-12-18 03:18:23 +0000448
david_williams42f9b242006-11-27 18:45:14 +0000449 </modificationset>
450
451 <schedule interval="${time.VeryVeryLongTime}">
452 <ant
453 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
454 buildfile="cc_project_build.xml"
455 target="Build"
456 useQuiet="false"
457 useLogger="false"
458 savelogdir="${logDir}"
459 usedebug="false"
460 antworkingdir="${env.BUILD_HOME}/releng.control">
461 <property
462 name="buildType"
463 value="R" />
464 <property
465 name="buildId"
466 value="2.0" />
467 <property
468 name="buildBranch"
469 value="R2.0" />
470 <property
471 name="checkoutprojectname"
472 value="${project.name}" />
473
474 <property
475 name="mapVersionTag"
476 value="HEAD" />
477 <property
478 name="build.distribution"
479 value="wtp" />
480
481
482 </ant>
483 </schedule>
484
485 </project>
486
487 <project name="wtp-whatisfixed">
david_williams7f595cc2006-11-28 05:42:52 +0000488 <schedule interval="${time.VeryVeryLongTime}">
david_williams42f9b242006-11-27 18:45:14 +0000489 <ant
490 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
491 buildfile="whatisfixed.xml"
492 target="whatisfixed"
493 useQuiet="false"
494 useLogger="false"
495 savelogdir="${logDir}"
496 usedebug="false"
497 antworkingdir="${env.BUILD_HOME}/releng.control">
498
499 </ant>
500 </schedule>
david_williamsa33db8f2006-11-27 23:36:51 +0000501
david_williams42f9b242006-11-27 18:45:14 +0000502 </project>
503
504
505</cruisecontrol>
506