david_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame^] | 1 | <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 --> |
| 8 | <property environment="env" toupper="true" /> |
| 9 | |
| 10 | <!-- Note: can not quite use "standard properites" pattern, as in ant files, |
| 11 | since for CC, it is an error if a property file does not exist. --> |
| 12 | |
| 13 | <!-- remember, our logDir must be same as logdir specified in CC's web.xml file --> |
| 14 | <property |
| 15 | name="logDir" |
| 16 | value="${env.LOG_DIR}/${project.name}" /> |
| 17 | |
| 18 | |
| 19 | <property |
| 20 | name="time.tenMinutes" |
| 21 | value="600" /> |
| 22 | |
| 23 | <property |
| 24 | name="time.oneHour" |
| 25 | value="3600" /> |
| 26 | |
| 27 | <property |
| 28 | name="time.VeryVeryLongTime" |
| 29 | value="31536000" /> |
| 30 | |
| 31 | <plugin |
| 32 | name="log" |
| 33 | dir="${logDir}" |
| 34 | encoding="ISO-8859-1" /> |
| 35 | |
| 36 | <plugin |
| 37 | name="currentbuildstatuslistener" |
| 38 | file="${logDir}/buildstatus.html" /> |
| 39 | |
| 40 | <plugin |
| 41 | name="project" |
| 42 | buildafterfailed="true"> |
| 43 | <dateformat format="yyyyMMdd-HHmm z" /> |
| 44 | <log |
| 45 | dir="${logDir}" |
| 46 | encoding="ISO-8859-1" /> |
| 47 | <schedule interval="${time.VeryVeryLongTime}" /> |
| 48 | <listeners> |
| 49 | <currentbuildstatuslistener /> |
| 50 | </listeners> |
| 51 | <modificationset> |
| 52 | <forceonly /> |
| 53 | </modificationset> |
| 54 | <publishers> |
| 55 | <email |
| 56 | mailhost="localhost" |
| 57 | returnaddress="${env.BUILD_BUILDMASTER_EMAIL}" |
| 58 | skipusers="false" |
| 59 | subjectprefix="[${project.name}]" |
| 60 | spamwhilebroken="false" |
| 61 | buildresultsurl="${env.BUILD_RESULT_URL}/${project.name}"> |
| 62 | <always address="${env.BUILD_TOADDRESS}" /> |
| 63 | </email> |
| 64 | </publishers> |
| 65 | </plugin> |
| 66 | |
| 67 | <plugin |
| 68 | name="cvs" |
| 69 | cvsroot="${env.CVS_MAIN_REPO}" /> |
| 70 | |
| 71 | <!-- |
| 72 | Note: projects should normally be named in the form |
| 73 | ${build.distribution}-${buildBranch}-${buildType} |
| 74 | --> |
| 75 | |
| 76 | <project name="wtp-R1.5-P"> |
| 77 | |
| 78 | <schedule> |
| 79 | <ant |
| 80 | antscript="${env.BUILD_HOME}/releng.control/ant.sh" |
| 81 | buildfile="cc_project_build.xml" |
| 82 | target="Build" |
| 83 | useQuiet="false" |
| 84 | useLogger="false" |
| 85 | savelogdir="${logDir}" |
| 86 | usedebug="false" |
| 87 | antworkingdir="${env.BUILD_HOME}/releng.control"> |
| 88 | |
| 89 | <property |
| 90 | name="buildType" |
| 91 | value="P" /> |
| 92 | |
| 93 | <!-- need to make this build ID a better variable, |
| 94 | especially for this 'patch' case --> |
| 95 | <property |
| 96 | name="buildId" |
| 97 | value="B163391" /> |
| 98 | <property |
| 99 | name="buildBranch" |
| 100 | value="R1.5" /> |
| 101 | <property |
| 102 | name="checkoutprojectname" |
| 103 | value="${project.name}" /> |
| 104 | |
| 105 | <property |
| 106 | name="mapVersionTag" |
| 107 | value="R1_5_maintenance_patches" /> |
| 108 | |
| 109 | <property |
| 110 | name="build.distribution" |
| 111 | value="patches" /> |
| 112 | |
| 113 | |
| 114 | </ant> |
| 115 | </schedule> |
| 116 | |
| 117 | </project> |
| 118 | |
| 119 | |
| 120 | <!-- ++++++++++++++++ --> |
| 121 | <!-- R1.0 MAINTENANCE --> |
| 122 | <!-- ++++++++++++++++ --> |
| 123 | <project name="wtp-R1.0-M"> |
| 124 | |
| 125 | <!-- Defines where cruise looks for changes, to decide whether to run the build --> |
| 126 | <modificationset quietperiod="120"> |
| 127 | <cvs |
| 128 | tag="R1_0_maintenance" |
| 129 | module="releng" /> |
| 130 | <cvs |
| 131 | tag="R1_0_maintenance" |
| 132 | module="releng.wtpbuilder" /> |
| 133 | </modificationset> |
| 134 | |
| 135 | <schedule interval="${time.VeryVeryLongTime}"> |
| 136 | <ant |
| 137 | antscript="${env.BUILD_HOME}/releng.control/ant.sh" |
| 138 | buildfile="cc_project_build.xml" |
| 139 | target="Build" |
| 140 | useQuiet="false" |
| 141 | useLogger="false" |
| 142 | savelogdir="${logDir}" |
| 143 | usedebug="false" |
| 144 | antworkingdir="${env.BUILD_HOME}/releng.control"> |
| 145 | |
| 146 | <!-- this "M" label should be changed to "R" once maintenance release |
| 147 | is warming up for its "R"elease. |
| 148 | --> |
| 149 | <property |
| 150 | name="buildType" |
| 151 | value="R" /> |
| 152 | <!-- should comment out pre-spec'd coded buildId, once R-1.0.2 is declared --> |
| 153 | |
| 154 | <property |
| 155 | name="buildId" |
| 156 | value="1.0.3" /> |
| 157 | <property |
| 158 | name="buildBranch" |
| 159 | value="R1.0" /> |
| 160 | |
| 161 | <property |
| 162 | name="checkoutprojectname" |
| 163 | value="${project.name}" /> |
| 164 | |
| 165 | <property |
| 166 | name="mapVersionTag" |
| 167 | value="R1_0_maintenance" /> |
| 168 | <property |
| 169 | name="build.distribution" |
| 170 | value="wtp" /> |
| 171 | |
| 172 | |
| 173 | </ant> |
| 174 | </schedule> |
| 175 | |
| 176 | </project> |
| 177 | |
| 178 | <!-- ++++++++++++++++ --> |
| 179 | <!-- R1.5 MAINTENANCE --> |
| 180 | <!-- ++++++++++++++++ --> |
| 181 | <project name="wtp-R1.5-M"> |
| 182 | <!-- Defines where cruise looks for changes, to decide whether to run the build --> |
| 183 | <modificationset quietperiod="120"> |
| 184 | <cvs |
| 185 | tag="R1_0_maintenance" |
| 186 | module="releng" /> |
| 187 | <cvs |
| 188 | tag="R1_0_maintenance" |
| 189 | module="releng.wtpbuilder" /> |
| 190 | </modificationset> |
| 191 | |
| 192 | <schedule interval="${time.oneHour}"> |
| 193 | <ant |
| 194 | antscript="${env.BUILD_HOME}/releng.control/ant.sh" |
| 195 | buildfile="cc_project_build.xml" |
| 196 | target="Build" |
| 197 | useQuiet="false" |
| 198 | useLogger="false" |
| 199 | savelogdir="${logDir}" |
| 200 | usedebug="false" |
| 201 | antworkingdir="${env.BUILD_HOME}/releng.control"> |
| 202 | |
| 203 | <!-- this "M" label should be changed to "R" once maintenance release |
| 204 | is warming up for its "R"elease. |
| 205 | --> |
| 206 | <property |
| 207 | name="buildType" |
| 208 | value="M" /> |
| 209 | |
| 210 | <property |
| 211 | name="buildId" |
| 212 | value="1.5.3" /> |
| 213 | <property |
| 214 | name="buildBranch" |
| 215 | value="R1.5" /> |
| 216 | |
| 217 | <property |
| 218 | name="checkoutprojectname" |
| 219 | value="${project.name}" /> |
| 220 | |
| 221 | |
| 222 | <property |
| 223 | name="mapVersionTag" |
| 224 | value="R1_5_maintenance" /> |
| 225 | |
| 226 | |
| 227 | </ant> |
| 228 | </schedule> |
| 229 | |
| 230 | </project> |
| 231 | |
| 232 | |
| 233 | <project name="wtp-R2.0-I"> |
| 234 | <!-- Defines where cruise looks for changes, to decide whether to run the build --> |
| 235 | <modificationset quietperiod="120"> |
| 236 | <cvs module="releng" /> |
| 237 | <cvs module="releng-jsf" /> |
| 238 | <cvs module="releng.dali" /> |
| 239 | <cvs module="releng.wtpbuilder" /> |
| 240 | </modificationset> |
| 241 | |
| 242 | <schedule interval="${time.oneHour}"> |
| 243 | <ant |
| 244 | antscript="${env.BUILD_HOME}/releng.control/ant.sh" |
| 245 | buildfile="cc_project_build.xml" |
| 246 | target="Build" |
| 247 | useQuiet="false" |
| 248 | useLogger="false" |
| 249 | savelogdir="${logDir}" |
| 250 | usedebug="false" |
| 251 | antworkingdir="${env.BUILD_HOME}/releng.control"> |
| 252 | <property |
| 253 | name="buildType" |
| 254 | value="I" /> |
| 255 | <property |
| 256 | name="buildBranch" |
| 257 | value="R2.0" /> |
| 258 | <property |
| 259 | name="checkoutprojectname" |
| 260 | value="${project.name}" /> |
| 261 | |
| 262 | <property |
| 263 | name="mapVersionTag" |
| 264 | value="HEAD" /> |
| 265 | <property |
| 266 | name="build.distribution" |
| 267 | value="wtp" /> |
| 268 | |
| 269 | |
| 270 | </ant> |
| 271 | </schedule> |
| 272 | |
| 273 | </project> |
| 274 | |
| 275 | |
| 276 | <project name="wtp-R2.0-N"> |
| 277 | |
| 278 | <schedule> |
| 279 | <ant |
| 280 | antscript="${env.BUILD_HOME}/releng.control/ant.sh" |
| 281 | buildfile="cc_project_build.xml" |
| 282 | target="Build" |
| 283 | useQuiet="false" |
| 284 | useLogger="false" |
| 285 | savelogdir="${logDir}" |
| 286 | usedebug="false" |
| 287 | antworkingdir="${env.BUILD_HOME}/releng.control"> |
| 288 | <property |
| 289 | name="buildType" |
| 290 | value="N" /> |
| 291 | <!-- in this context, buildBranch is simply a label --> |
| 292 | <property |
| 293 | name="buildBranch" |
| 294 | value="R2.0" /> |
| 295 | <property |
| 296 | name="mapVersionTag" |
| 297 | value="HEAD" /> |
| 298 | <property |
| 299 | name="build.distribution" |
| 300 | value="wtp" /> |
| 301 | <property |
| 302 | name="build.trial" |
| 303 | value="true" /> |
| 304 | |
| 305 | |
| 306 | </ant> |
| 307 | </schedule> |
| 308 | |
| 309 | </project> |
| 310 | |
| 311 | |
| 312 | <project name="wtp-R2.0-S"> |
| 313 | <!-- Defines where cruise looks for changes, to decide whether to run the build --> |
| 314 | <modificationset quietperiod="120"> |
| 315 | <cvs module="releng" /> |
| 316 | <cvs module="releng-jsf" /> |
| 317 | <cvs module="releng.dali" /> |
| 318 | <cvs module="releng.wtpbuilder" /> |
| 319 | </modificationset> |
| 320 | |
| 321 | <schedule interval="${time.VeryVeryLongTime}"> |
| 322 | <ant |
| 323 | antscript="${env.BUILD_HOME}/releng.control/ant.sh" |
| 324 | buildfile="cc_project_build.xml" |
| 325 | target="Build" |
| 326 | useQuiet="false" |
| 327 | useLogger="false" |
| 328 | savelogdir="${logDir}" |
| 329 | usedebug="false" |
| 330 | antworkingdir="${env.BUILD_HOME}/releng.control"> |
| 331 | <property |
| 332 | name="buildType" |
| 333 | value="S" /> |
| 334 | <property |
| 335 | name="buildId" |
| 336 | value="2.0M3" /> |
| 337 | <property |
| 338 | name="buildBranch" |
| 339 | value="R2.0" /> |
| 340 | <property |
| 341 | name="checkoutprojectname" |
| 342 | value="${project.name}" /> |
| 343 | |
| 344 | <property |
| 345 | name="mapVersionTag" |
| 346 | value="HEAD" /> |
| 347 | <property |
| 348 | name="build.distribution" |
| 349 | value="wtp" /> |
| 350 | |
| 351 | |
| 352 | </ant> |
| 353 | </schedule> |
| 354 | |
| 355 | |
| 356 | </project> |
| 357 | |
| 358 | |
| 359 | <project name="wtp-thirdparty-R2.0-T"> |
| 360 | <!-- Defines where cruise looks for changes, to decide whether to run the build --> |
| 361 | <modificationset quietperiod="120"> |
| 362 | <cvs module="releng-thirdparty" /> |
| 363 | </modificationset> |
| 364 | |
| 365 | <schedule interval="${time.tenMinutes}"> |
| 366 | <ant |
| 367 | antscript="${env.BUILD_HOME}/releng.control/ant.sh" |
| 368 | buildfile="cc_project_build.xml" |
| 369 | target="Build" |
| 370 | useQuiet="false" |
| 371 | useLogger="false" |
| 372 | savelogdir="${logDir}" |
| 373 | usedebug="false" |
| 374 | antworkingdir="${env.BUILD_HOME}/releng.control"> |
| 375 | <property |
| 376 | name="buildType" |
| 377 | value="T" /> |
| 378 | <property |
| 379 | name="checkoutprojectname" |
| 380 | value="${project.name}" /> |
| 381 | |
| 382 | <property |
| 383 | name="buildBranch" |
| 384 | value="R2.0" /> |
| 385 | |
| 386 | <property |
| 387 | name="mapVersionTag" |
| 388 | value="HEAD" /> |
| 389 | <property |
| 390 | name="build.distribution" |
| 391 | value="wtp-thirdparty" /> |
| 392 | |
| 393 | |
| 394 | </ant> |
| 395 | </schedule> |
| 396 | |
| 397 | </project> |
| 398 | |
| 399 | |
| 400 | <project name="wtp-R2.0-R"> |
| 401 | <!-- Defines where cruise looks for changes, to decide whether to run the build --> |
| 402 | <modificationset quietperiod="120"> |
| 403 | <cvs module="releng" /> |
| 404 | <cvs module="releng-jsf" /> |
| 405 | <cvs module="releng.dali" /> |
| 406 | <cvs module="releng.wtpbuilder" /> |
| 407 | </modificationset> |
| 408 | |
| 409 | <schedule interval="${time.VeryVeryLongTime}"> |
| 410 | <ant |
| 411 | antscript="${env.BUILD_HOME}/releng.control/ant.sh" |
| 412 | buildfile="cc_project_build.xml" |
| 413 | target="Build" |
| 414 | useQuiet="false" |
| 415 | useLogger="false" |
| 416 | savelogdir="${logDir}" |
| 417 | usedebug="false" |
| 418 | antworkingdir="${env.BUILD_HOME}/releng.control"> |
| 419 | <property |
| 420 | name="buildType" |
| 421 | value="R" /> |
| 422 | <property |
| 423 | name="buildId" |
| 424 | value="2.0" /> |
| 425 | <property |
| 426 | name="buildBranch" |
| 427 | value="R2.0" /> |
| 428 | <property |
| 429 | name="checkoutprojectname" |
| 430 | value="${project.name}" /> |
| 431 | |
| 432 | <property |
| 433 | name="mapVersionTag" |
| 434 | value="HEAD" /> |
| 435 | <property |
| 436 | name="build.distribution" |
| 437 | value="wtp" /> |
| 438 | |
| 439 | |
| 440 | </ant> |
| 441 | </schedule> |
| 442 | |
| 443 | </project> |
| 444 | |
| 445 | <project name="wtp-whatisfixed"> |
| 446 | <schedule> |
| 447 | <ant |
| 448 | antscript="${env.BUILD_HOME}/releng.control/ant.sh" |
| 449 | buildfile="whatisfixed.xml" |
| 450 | target="whatisfixed" |
| 451 | useQuiet="false" |
| 452 | useLogger="false" |
| 453 | savelogdir="${logDir}" |
| 454 | usedebug="false" |
| 455 | antworkingdir="${env.BUILD_HOME}/releng.control"> |
| 456 | |
| 457 | </ant> |
| 458 | </schedule> |
| 459 | |
| 460 | </project> |
| 461 | |
| 462 | |
| 463 | </cruisecontrol> |
| 464 | |