blob: aedaf83c8f9b9614f0722e412606c30d588e6cb4 [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"
209 value="M" />
210
211 <property
212 name="buildId"
213 value="1.5.3" />
214 <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_williams2f3f8432006-12-18 03:18:23 +0000322 <schedule interval="${time.oneHour}">
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
361
362 <project name="wtp-thirdparty-R2.0-T">
363 <!-- Defines where cruise looks for changes, to decide whether to run the build -->
364 <modificationset quietperiod="120">
365 <cvs module="releng-thirdparty" />
366 </modificationset>
367
david_williams73f10e72006-11-28 04:19:50 +0000368 <schedule interval="${time.VeryVeryLongTime}">
david_williams42f9b242006-11-27 18:45:14 +0000369 <ant
370 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
371 buildfile="cc_project_build.xml"
372 target="Build"
373 useQuiet="false"
374 useLogger="false"
375 savelogdir="${logDir}"
376 usedebug="false"
377 antworkingdir="${env.BUILD_HOME}/releng.control">
378 <property
379 name="buildType"
380 value="T" />
381 <property
382 name="checkoutprojectname"
383 value="${project.name}" />
384
385 <property
386 name="buildBranch"
387 value="R2.0" />
388
389 <property
390 name="mapVersionTag"
391 value="HEAD" />
392 <property
393 name="build.distribution"
394 value="wtp-thirdparty" />
395
396
397 </ant>
398 </schedule>
david_williamsa33db8f2006-11-27 23:36:51 +0000399
david_williams42f9b242006-11-27 18:45:14 +0000400 </project>
401
402
403 <project name="wtp-R2.0-R">
404 <!-- Defines where cruise looks for changes, to decide whether to run the build -->
405 <modificationset quietperiod="120">
406 <cvs module="releng" />
407 <cvs module="releng-jsf" />
408 <cvs module="releng.dali" />
david_williams2f3f8432006-12-18 03:18:23 +0000409
david_williams42f9b242006-11-27 18:45:14 +0000410 </modificationset>
411
412 <schedule interval="${time.VeryVeryLongTime}">
413 <ant
414 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
415 buildfile="cc_project_build.xml"
416 target="Build"
417 useQuiet="false"
418 useLogger="false"
419 savelogdir="${logDir}"
420 usedebug="false"
421 antworkingdir="${env.BUILD_HOME}/releng.control">
422 <property
423 name="buildType"
424 value="R" />
425 <property
426 name="buildId"
427 value="2.0" />
428 <property
429 name="buildBranch"
430 value="R2.0" />
431 <property
432 name="checkoutprojectname"
433 value="${project.name}" />
434
435 <property
436 name="mapVersionTag"
437 value="HEAD" />
438 <property
439 name="build.distribution"
440 value="wtp" />
441
442
443 </ant>
444 </schedule>
445
446 </project>
447
448 <project name="wtp-whatisfixed">
david_williams7f595cc2006-11-28 05:42:52 +0000449 <schedule interval="${time.VeryVeryLongTime}">
david_williams42f9b242006-11-27 18:45:14 +0000450 <ant
451 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
452 buildfile="whatisfixed.xml"
453 target="whatisfixed"
454 useQuiet="false"
455 useLogger="false"
456 savelogdir="${logDir}"
457 usedebug="false"
458 antworkingdir="${env.BUILD_HOME}/releng.control">
459
460 </ant>
461 </schedule>
david_williamsa33db8f2006-11-27 23:36:51 +0000462
david_williams42f9b242006-11-27 18:45:14 +0000463 </project>
464
465
466</cruisecontrol>
467