blob: 83460214c33812a23316c86915ec1ec8daff9444 [file] [log] [blame]
david_williams42f9b242006-11-27 18:45:14 +00001<cruisecontrol>
2
3 <!--
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
7 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
12 <!-- Note: can not quite use "standard properites" pattern, as in ant files,
13 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
76 <!--
77 Note: projects should normally be named in the form
78 ${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
98 <!-- need to make this build ID a better variable,
david_williams10566a52006-12-05 09:18:30 +000099 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"
138 module="releng.wtpbuilder" />
139 </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" />
193 <cvs
david_williamsc8649f72006-12-06 22:01:56 +0000194 tag="R1_5_maintenance"
david_williams42f9b242006-11-27 18:45:14 +0000195 module="releng.wtpbuilder" />
196 </modificationset>
197
198 <schedule interval="${time.oneHour}">
199 <ant
200 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
201 buildfile="cc_project_build.xml"
202 target="Build"
203 useQuiet="false"
204 useLogger="false"
205 savelogdir="${logDir}"
206 usedebug="false"
207 antworkingdir="${env.BUILD_HOME}/releng.control">
208
209 <!-- this "M" label should be changed to "R" once maintenance release
210 is warming up for its "R"elease.
211 -->
212 <property
213 name="buildType"
214 value="M" />
215
216 <property
217 name="buildId"
218 value="1.5.3" />
219 <property
220 name="buildBranch"
221 value="R1.5" />
222
223 <property
224 name="checkoutprojectname"
225 value="${project.name}" />
226
227
228 <property
229 name="mapVersionTag"
230 value="R1_5_maintenance" />
231
232
233 </ant>
234 </schedule>
david_williamsa33db8f2006-11-27 23:36:51 +0000235
david_williams42f9b242006-11-27 18:45:14 +0000236 </project>
237
238
239 <project name="wtp-R2.0-I">
240 <!-- Defines where cruise looks for changes, to decide whether to run the build -->
241 <modificationset quietperiod="120">
242 <cvs module="releng" />
243 <cvs module="releng-jsf" />
244 <cvs module="releng.dali" />
245 <cvs module="releng.wtpbuilder" />
246 </modificationset>
247
248 <schedule interval="${time.oneHour}">
249 <ant
250 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
251 buildfile="cc_project_build.xml"
252 target="Build"
253 useQuiet="false"
254 useLogger="false"
255 savelogdir="${logDir}"
256 usedebug="false"
257 antworkingdir="${env.BUILD_HOME}/releng.control">
258 <property
259 name="buildType"
260 value="I" />
261 <property
262 name="buildBranch"
263 value="R2.0" />
264 <property
265 name="checkoutprojectname"
266 value="${project.name}" />
267
268 <property
269 name="mapVersionTag"
270 value="HEAD" />
271 <property
272 name="build.distribution"
273 value="wtp" />
274
275
276 </ant>
277 </schedule>
david_williamsa33db8f2006-11-27 23:36:51 +0000278
david_williams42f9b242006-11-27 18:45:14 +0000279 </project>
280
281
282 <project name="wtp-R2.0-N">
283
david_williamsa33db8f2006-11-27 23:36:51 +0000284 <schedule interval="${time.VeryVeryLongTime}">
david_williams42f9b242006-11-27 18:45:14 +0000285 <ant
286 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
287 buildfile="cc_project_build.xml"
288 target="Build"
289 useQuiet="false"
290 useLogger="false"
291 savelogdir="${logDir}"
292 usedebug="false"
293 antworkingdir="${env.BUILD_HOME}/releng.control">
294 <property
295 name="buildType"
296 value="N" />
297 <!-- in this context, buildBranch is simply a label -->
298 <property
299 name="buildBranch"
300 value="R2.0" />
301 <property
302 name="mapVersionTag"
303 value="HEAD" />
304 <property
305 name="build.distribution"
306 value="wtp" />
307 <property
308 name="build.trial"
309 value="true" />
310
311
312 </ant>
313 </schedule>
david_williamsa33db8f2006-11-27 23:36:51 +0000314
david_williams42f9b242006-11-27 18:45:14 +0000315 </project>
316
317
318 <project name="wtp-R2.0-S">
319 <!-- Defines where cruise looks for changes, to decide whether to run the build -->
320 <modificationset quietperiod="120">
321 <cvs module="releng" />
322 <cvs module="releng-jsf" />
323 <cvs module="releng.dali" />
324 <cvs module="releng.wtpbuilder" />
325 </modificationset>
326
327 <schedule interval="${time.VeryVeryLongTime}">
328 <ant
329 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
330 buildfile="cc_project_build.xml"
331 target="Build"
332 useQuiet="false"
333 useLogger="false"
334 savelogdir="${logDir}"
335 usedebug="false"
336 antworkingdir="${env.BUILD_HOME}/releng.control">
337 <property
338 name="buildType"
339 value="S" />
340 <property
341 name="buildId"
342 value="2.0M3" />
343 <property
344 name="buildBranch"
345 value="R2.0" />
346 <property
347 name="checkoutprojectname"
348 value="${project.name}" />
349
350 <property
351 name="mapVersionTag"
352 value="HEAD" />
353 <property
354 name="build.distribution"
355 value="wtp" />
356
357
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" />
412 <cvs module="releng.wtpbuilder" />
413 </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