blob: f62837c61e18bc9b101082d84ec0944e15775168 [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" />
136 <cvs
137 tag="R1_0_maintenance"
david_williams2f3f8432006-12-18 03:18:23 +0000138
david_williams42f9b242006-11-27 18:45:14 +0000139 </modificationset>
140
141 <schedule interval="${time.VeryVeryLongTime}">
142 <ant
143 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
144 buildfile="cc_project_build.xml"
145 target="Build"
146 useQuiet="false"
147 useLogger="false"
148 savelogdir="${logDir}"
149 usedebug="false"
150 antworkingdir="${env.BUILD_HOME}/releng.control">
151
152 <!-- this "M" label should be changed to "R" once maintenance release
153 is warming up for its "R"elease.
154 -->
155 <property
156 name="buildType"
157 value="R" />
158 <!-- should comment out pre-spec'd coded buildId, once R-1.0.2 is declared -->
159
160 <property
161 name="buildId"
162 value="1.0.3" />
163 <property
164 name="buildBranch"
165 value="R1.0" />
166
167 <property
168 name="checkoutprojectname"
169 value="${project.name}" />
170
171 <property
172 name="mapVersionTag"
173 value="R1_0_maintenance" />
174 <property
175 name="build.distribution"
176 value="wtp" />
177
178
179 </ant>
180 </schedule>
181
182 </project>
183
184 <!-- ++++++++++++++++ -->
185 <!-- R1.5 MAINTENANCE -->
186 <!-- ++++++++++++++++ -->
187 <project name="wtp-R1.5-M">
188 <!-- Defines where cruise looks for changes, to decide whether to run the build -->
189 <modificationset quietperiod="120">
190 <cvs
david_williamsc8649f72006-12-06 22:01:56 +0000191 tag="R1_5_maintenance"
david_williams42f9b242006-11-27 18:45:14 +0000192 module="releng" />
david_williams2f3f8432006-12-18 03:18:23 +0000193
david_williams42f9b242006-11-27 18:45:14 +0000194 </modificationset>
195
196 <schedule interval="${time.oneHour}">
197 <ant
198 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
199 buildfile="cc_project_build.xml"
200 target="Build"
201 useQuiet="false"
202 useLogger="false"
203 savelogdir="${logDir}"
204 usedebug="false"
205 antworkingdir="${env.BUILD_HOME}/releng.control">
206
207 <!-- this "M" label should be changed to "R" once maintenance release
208 is warming up for its "R"elease.
209 -->
210 <property
211 name="buildType"
212 value="M" />
213
214 <property
215 name="buildId"
216 value="1.5.3" />
217 <property
218 name="buildBranch"
219 value="R1.5" />
220
221 <property
222 name="checkoutprojectname"
223 value="${project.name}" />
224
225
226 <property
227 name="mapVersionTag"
228 value="R1_5_maintenance" />
229
230
231 </ant>
232 </schedule>
david_williamsa33db8f2006-11-27 23:36:51 +0000233
david_williams42f9b242006-11-27 18:45:14 +0000234 </project>
235
236
237 <project name="wtp-R2.0-I">
238 <!-- Defines where cruise looks for changes, to decide whether to run the build -->
239 <modificationset quietperiod="120">
240 <cvs module="releng" />
241 <cvs module="releng-jsf" />
242 <cvs module="releng.dali" />
david_williams2f3f8432006-12-18 03:18:23 +0000243
david_williams42f9b242006-11-27 18:45:14 +0000244 </modificationset>
245
246 <schedule interval="${time.oneHour}">
247 <ant
248 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
249 buildfile="cc_project_build.xml"
250 target="Build"
251 useQuiet="false"
252 useLogger="false"
253 savelogdir="${logDir}"
254 usedebug="false"
255 antworkingdir="${env.BUILD_HOME}/releng.control">
256 <property
257 name="buildType"
258 value="I" />
259 <property
260 name="buildBranch"
261 value="R2.0" />
262 <property
263 name="checkoutprojectname"
264 value="${project.name}" />
265
266 <property
267 name="mapVersionTag"
268 value="HEAD" />
269 <property
270 name="build.distribution"
271 value="wtp" />
272
273
274 </ant>
275 </schedule>
david_williamsa33db8f2006-11-27 23:36:51 +0000276
david_williams42f9b242006-11-27 18:45:14 +0000277 </project>
278
279
280 <project name="wtp-R2.0-N">
281
david_williamsa33db8f2006-11-27 23:36:51 +0000282 <schedule interval="${time.VeryVeryLongTime}">
david_williams42f9b242006-11-27 18:45:14 +0000283 <ant
284 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
285 buildfile="cc_project_build.xml"
286 target="Build"
287 useQuiet="false"
288 useLogger="false"
289 savelogdir="${logDir}"
290 usedebug="false"
291 antworkingdir="${env.BUILD_HOME}/releng.control">
292 <property
293 name="buildType"
294 value="N" />
295 <!-- in this context, buildBranch is simply a label -->
296 <property
297 name="buildBranch"
298 value="R2.0" />
299 <property
300 name="mapVersionTag"
301 value="HEAD" />
302 <property
303 name="build.distribution"
304 value="wtp" />
305 <property
306 name="build.trial"
307 value="true" />
308
309
310 </ant>
311 </schedule>
david_williamsa33db8f2006-11-27 23:36:51 +0000312
david_williams42f9b242006-11-27 18:45:14 +0000313 </project>
314
315
316 <project name="wtp-R2.0-S">
317 <!-- Defines where cruise looks for changes, to decide whether to run the build -->
318 <modificationset quietperiod="120">
319 <cvs module="releng" />
320 <cvs module="releng-jsf" />
321 <cvs module="releng.dali" />
david_williams2f3f8432006-12-18 03:18:23 +0000322
david_williams42f9b242006-11-27 18:45:14 +0000323 </modificationset>
324
david_williams2f3f8432006-12-18 03:18:23 +0000325 <schedule interval="${time.oneHour}">
david_williams42f9b242006-11-27 18:45:14 +0000326 <ant
327 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
328 buildfile="cc_project_build.xml"
329 target="Build"
330 useQuiet="false"
331 useLogger="false"
332 savelogdir="${logDir}"
333 usedebug="false"
334 antworkingdir="${env.BUILD_HOME}/releng.control">
335 <property
336 name="buildType"
337 value="S" />
338 <property
339 name="buildId"
david_williams2f3f8432006-12-18 03:18:23 +0000340 value="2.0M4" />
david_williams42f9b242006-11-27 18:45:14 +0000341 <property
342 name="buildBranch"
343 value="R2.0" />
344 <property
345 name="checkoutprojectname"
346 value="${project.name}" />
347
348 <property
349 name="mapVersionTag"
350 value="HEAD" />
351 <property
352 name="build.distribution"
353 value="wtp" />
david_williams7512e3a2006-12-18 03:34:39 +0000354 <property
355 name="build.pack-all-in-one"
356 value="true" />
david_williams42f9b242006-11-27 18:45:14 +0000357
358 </ant>
359 </schedule>
360
david_williamsa33db8f2006-11-27 23:36:51 +0000361
david_williams42f9b242006-11-27 18:45:14 +0000362 </project>
363
364
365 <project name="wtp-thirdparty-R2.0-T">
366 <!-- Defines where cruise looks for changes, to decide whether to run the build -->
367 <modificationset quietperiod="120">
368 <cvs module="releng-thirdparty" />
369 </modificationset>
370
david_williams73f10e72006-11-28 04:19:50 +0000371 <schedule interval="${time.VeryVeryLongTime}">
david_williams42f9b242006-11-27 18:45:14 +0000372 <ant
373 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
374 buildfile="cc_project_build.xml"
375 target="Build"
376 useQuiet="false"
377 useLogger="false"
378 savelogdir="${logDir}"
379 usedebug="false"
380 antworkingdir="${env.BUILD_HOME}/releng.control">
381 <property
382 name="buildType"
383 value="T" />
384 <property
385 name="checkoutprojectname"
386 value="${project.name}" />
387
388 <property
389 name="buildBranch"
390 value="R2.0" />
391
392 <property
393 name="mapVersionTag"
394 value="HEAD" />
395 <property
396 name="build.distribution"
397 value="wtp-thirdparty" />
398
399
400 </ant>
401 </schedule>
david_williamsa33db8f2006-11-27 23:36:51 +0000402
david_williams42f9b242006-11-27 18:45:14 +0000403 </project>
404
405
406 <project name="wtp-R2.0-R">
407 <!-- Defines where cruise looks for changes, to decide whether to run the build -->
408 <modificationset quietperiod="120">
409 <cvs module="releng" />
410 <cvs module="releng-jsf" />
411 <cvs module="releng.dali" />
david_williams2f3f8432006-12-18 03:18:23 +0000412
david_williams42f9b242006-11-27 18:45:14 +0000413 </modificationset>
414
415 <schedule interval="${time.VeryVeryLongTime}">
416 <ant
417 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
418 buildfile="cc_project_build.xml"
419 target="Build"
420 useQuiet="false"
421 useLogger="false"
422 savelogdir="${logDir}"
423 usedebug="false"
424 antworkingdir="${env.BUILD_HOME}/releng.control">
425 <property
426 name="buildType"
427 value="R" />
428 <property
429 name="buildId"
430 value="2.0" />
431 <property
432 name="buildBranch"
433 value="R2.0" />
434 <property
435 name="checkoutprojectname"
436 value="${project.name}" />
437
438 <property
439 name="mapVersionTag"
440 value="HEAD" />
441 <property
442 name="build.distribution"
443 value="wtp" />
444
445
446 </ant>
447 </schedule>
448
449 </project>
450
451 <project name="wtp-whatisfixed">
david_williams7f595cc2006-11-28 05:42:52 +0000452 <schedule interval="${time.VeryVeryLongTime}">
david_williams42f9b242006-11-27 18:45:14 +0000453 <ant
454 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
455 buildfile="whatisfixed.xml"
456 target="whatisfixed"
457 useQuiet="false"
458 useLogger="false"
459 savelogdir="${logDir}"
460 usedebug="false"
461 antworkingdir="${env.BUILD_HOME}/releng.control">
462
463 </ant>
464 </schedule>
david_williamsa33db8f2006-11-27 23:36:51 +0000465
david_williams42f9b242006-11-27 18:45:14 +0000466 </project>
467
468
469</cruisecontrol>
470