blob: 7b615b127ad9f7689c0acbdbcf50281751f4d5c2 [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
81 <project name="wtp-R1.5-P">
82
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,
99 especially for this 'patch' case -->
100 <property
101 name="buildId"
102 value="B163391" />
103 <property
104 name="buildBranch"
105 value="R1.5" />
106 <property
107 name="checkoutprojectname"
108 value="${project.name}" />
109
110 <property
111 name="mapVersionTag"
112 value="R1_5_maintenance_patches" />
113
114 <property
115 name="build.distribution"
116 value="patches" />
117
118
119 </ant>
120 </schedule>
121
122 </project>
123
124
125 <!-- ++++++++++++++++ -->
126 <!-- R1.0 MAINTENANCE -->
127 <!-- ++++++++++++++++ -->
128 <project name="wtp-R1.0-M">
129
130 <!-- Defines where cruise looks for changes, to decide whether to run the build -->
131 <modificationset quietperiod="120">
132 <cvs
133 tag="R1_0_maintenance"
134 module="releng" />
135 <cvs
136 tag="R1_0_maintenance"
137 module="releng.wtpbuilder" />
138 </modificationset>
139
140 <schedule interval="${time.VeryVeryLongTime}">
141 <ant
142 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
143 buildfile="cc_project_build.xml"
144 target="Build"
145 useQuiet="false"
146 useLogger="false"
147 savelogdir="${logDir}"
148 usedebug="false"
149 antworkingdir="${env.BUILD_HOME}/releng.control">
150
151 <!-- this "M" label should be changed to "R" once maintenance release
152 is warming up for its "R"elease.
153 -->
154 <property
155 name="buildType"
156 value="R" />
157 <!-- should comment out pre-spec'd coded buildId, once R-1.0.2 is declared -->
158
159 <property
160 name="buildId"
161 value="1.0.3" />
162 <property
163 name="buildBranch"
164 value="R1.0" />
165
166 <property
167 name="checkoutprojectname"
168 value="${project.name}" />
169
170 <property
171 name="mapVersionTag"
172 value="R1_0_maintenance" />
173 <property
174 name="build.distribution"
175 value="wtp" />
176
177
178 </ant>
179 </schedule>
180
181 </project>
182
183 <!-- ++++++++++++++++ -->
184 <!-- R1.5 MAINTENANCE -->
185 <!-- ++++++++++++++++ -->
186 <project name="wtp-R1.5-M">
187 <!-- Defines where cruise looks for changes, to decide whether to run the build -->
188 <modificationset quietperiod="120">
189 <cvs
190 tag="R1_0_maintenance"
191 module="releng" />
192 <cvs
193 tag="R1_0_maintenance"
194 module="releng.wtpbuilder" />
195 </modificationset>
196
197 <schedule interval="${time.oneHour}">
198 <ant
199 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
200 buildfile="cc_project_build.xml"
201 target="Build"
202 useQuiet="false"
203 useLogger="false"
204 savelogdir="${logDir}"
205 usedebug="false"
206 antworkingdir="${env.BUILD_HOME}/releng.control">
207
208 <!-- this "M" label should be changed to "R" once maintenance release
209 is warming up for its "R"elease.
210 -->
211 <property
212 name="buildType"
213 value="M" />
214
215 <property
216 name="buildId"
217 value="1.5.3" />
218 <property
219 name="buildBranch"
220 value="R1.5" />
221
222 <property
223 name="checkoutprojectname"
224 value="${project.name}" />
225
226
227 <property
228 name="mapVersionTag"
229 value="R1_5_maintenance" />
230
231
232 </ant>
233 </schedule>
david_williamsa33db8f2006-11-27 23:36:51 +0000234
david_williams42f9b242006-11-27 18:45:14 +0000235 </project>
236
237
238 <project name="wtp-R2.0-I">
239 <!-- Defines where cruise looks for changes, to decide whether to run the build -->
240 <modificationset quietperiod="120">
241 <cvs module="releng" />
242 <cvs module="releng-jsf" />
243 <cvs module="releng.dali" />
244 <cvs module="releng.wtpbuilder" />
245 </modificationset>
246
247 <schedule interval="${time.oneHour}">
248 <ant
249 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
250 buildfile="cc_project_build.xml"
251 target="Build"
252 useQuiet="false"
253 useLogger="false"
254 savelogdir="${logDir}"
255 usedebug="false"
256 antworkingdir="${env.BUILD_HOME}/releng.control">
257 <property
258 name="buildType"
259 value="I" />
260 <property
261 name="buildBranch"
262 value="R2.0" />
263 <property
264 name="checkoutprojectname"
265 value="${project.name}" />
266
267 <property
268 name="mapVersionTag"
269 value="HEAD" />
270 <property
271 name="build.distribution"
272 value="wtp" />
273
274
275 </ant>
276 </schedule>
david_williamsa33db8f2006-11-27 23:36:51 +0000277
david_williams42f9b242006-11-27 18:45:14 +0000278 </project>
279
280
281 <project name="wtp-R2.0-N">
282
david_williamsa33db8f2006-11-27 23:36:51 +0000283 <schedule interval="${time.VeryVeryLongTime}">
david_williams42f9b242006-11-27 18:45:14 +0000284 <ant
285 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
286 buildfile="cc_project_build.xml"
287 target="Build"
288 useQuiet="false"
289 useLogger="false"
290 savelogdir="${logDir}"
291 usedebug="false"
292 antworkingdir="${env.BUILD_HOME}/releng.control">
293 <property
294 name="buildType"
295 value="N" />
296 <!-- in this context, buildBranch is simply a label -->
297 <property
298 name="buildBranch"
299 value="R2.0" />
300 <property
301 name="mapVersionTag"
302 value="HEAD" />
303 <property
304 name="build.distribution"
305 value="wtp" />
306 <property
307 name="build.trial"
308 value="true" />
309
310
311 </ant>
312 </schedule>
david_williamsa33db8f2006-11-27 23:36:51 +0000313
david_williams42f9b242006-11-27 18:45:14 +0000314 </project>
315
316
317 <project name="wtp-R2.0-S">
318 <!-- Defines where cruise looks for changes, to decide whether to run the build -->
319 <modificationset quietperiod="120">
320 <cvs module="releng" />
321 <cvs module="releng-jsf" />
322 <cvs module="releng.dali" />
323 <cvs module="releng.wtpbuilder" />
324 </modificationset>
325
326 <schedule interval="${time.VeryVeryLongTime}">
327 <ant
328 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
329 buildfile="cc_project_build.xml"
330 target="Build"
331 useQuiet="false"
332 useLogger="false"
333 savelogdir="${logDir}"
334 usedebug="false"
335 antworkingdir="${env.BUILD_HOME}/releng.control">
336 <property
337 name="buildType"
338 value="S" />
339 <property
340 name="buildId"
341 value="2.0M3" />
342 <property
343 name="buildBranch"
344 value="R2.0" />
345 <property
346 name="checkoutprojectname"
347 value="${project.name}" />
348
349 <property
350 name="mapVersionTag"
351 value="HEAD" />
352 <property
353 name="build.distribution"
354 value="wtp" />
355
356
357 </ant>
358 </schedule>
359
david_williamsa33db8f2006-11-27 23:36:51 +0000360
david_williams42f9b242006-11-27 18:45:14 +0000361 </project>
362
363
364 <project name="wtp-thirdparty-R2.0-T">
365 <!-- Defines where cruise looks for changes, to decide whether to run the build -->
366 <modificationset quietperiod="120">
367 <cvs module="releng-thirdparty" />
368 </modificationset>
369
370 <schedule interval="${time.tenMinutes}">
371 <ant
372 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
373 buildfile="cc_project_build.xml"
374 target="Build"
375 useQuiet="false"
376 useLogger="false"
377 savelogdir="${logDir}"
378 usedebug="false"
379 antworkingdir="${env.BUILD_HOME}/releng.control">
380 <property
381 name="buildType"
382 value="T" />
383 <property
384 name="checkoutprojectname"
385 value="${project.name}" />
386
387 <property
388 name="buildBranch"
389 value="R2.0" />
390
391 <property
392 name="mapVersionTag"
393 value="HEAD" />
394 <property
395 name="build.distribution"
396 value="wtp-thirdparty" />
397
398
399 </ant>
400 </schedule>
david_williamsa33db8f2006-11-27 23:36:51 +0000401
david_williams42f9b242006-11-27 18:45:14 +0000402 </project>
403
404
405 <project name="wtp-R2.0-R">
406 <!-- Defines where cruise looks for changes, to decide whether to run the build -->
407 <modificationset quietperiod="120">
408 <cvs module="releng" />
409 <cvs module="releng-jsf" />
410 <cvs module="releng.dali" />
411 <cvs module="releng.wtpbuilder" />
412 </modificationset>
413
414 <schedule interval="${time.VeryVeryLongTime}">
415 <ant
416 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
417 buildfile="cc_project_build.xml"
418 target="Build"
419 useQuiet="false"
420 useLogger="false"
421 savelogdir="${logDir}"
422 usedebug="false"
423 antworkingdir="${env.BUILD_HOME}/releng.control">
424 <property
425 name="buildType"
426 value="R" />
427 <property
428 name="buildId"
429 value="2.0" />
430 <property
431 name="buildBranch"
432 value="R2.0" />
433 <property
434 name="checkoutprojectname"
435 value="${project.name}" />
436
437 <property
438 name="mapVersionTag"
439 value="HEAD" />
440 <property
441 name="build.distribution"
442 value="wtp" />
443
444
445 </ant>
446 </schedule>
447
448 </project>
449
450 <project name="wtp-whatisfixed">
451 <schedule>
452 <ant
453 antscript="${env.BUILD_HOME}/releng.control/ant.sh"
454 buildfile="whatisfixed.xml"
455 target="whatisfixed"
456 useQuiet="false"
457 useLogger="false"
458 savelogdir="${logDir}"
459 usedebug="false"
460 antworkingdir="${env.BUILD_HOME}/releng.control">
461
462 </ant>
463 </schedule>
david_williamsa33db8f2006-11-27 23:36:51 +0000464
david_williams42f9b242006-11-27 18:45:14 +0000465 </project>
466
467
468</cruisecontrol>
469