This repository has been archived by the owner on May 28, 2019. It is now read-only.
forked from joshuamckenty/OpenSHA
-
Notifications
You must be signed in to change notification settings - Fork 6
/
cc_conf.xml
174 lines (143 loc) · 6 KB
/
cc_conf.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<cruisecontrol>
<!-- Commonly used directories -->
<property name="projectdir" value="/scratch/opensha/build/trunk"/>
<property name="tomcatprojectdir" value="/usr/local/tomcat/default/webapps/OpenSHA_dev/WEB-INF"/>
<property name="testdir" value="${projectdir}/junit/logs"/>
<property name="logdir" value="logs/${project.name}"/>
<property name="ant.bin" value="/usr/local/ant/default/bin/ant"/>
<property name="returnaddress" value="[email protected]"/>
<!-- These builds are run based on modifications to the repository -->
<project name="OpenSHA-continuous" buildafterfailed="false" requiremodification="true">
<bootstrappers>
<currentbuildstatusbootstrapper file="${logdir}/buildstatus.txt"/>
<svnbootstrapper file="ant/cc-build-test.xml"
localWorkingCopy="${projectdir}" />
<svnbootstrapper file="ant/build.xml"
localWorkingCopy="${projectdir}" />
<svnbootstrapper file="ant/test.xml"
localWorkingCopy="${projectdir}" />
</bootstrappers>
<schedule interval="300">
<ant antscript="${ant.bin}"
buildfile="${projectdir}/ant/cc-build-test.xml"
target="svn.build.run.common.tests" />
</schedule>
<modificationset quietperiod="60">
<svn LocalWorkingCopy="${projectdir}"/>
</modificationset>
<log dir="${logdir}">
<merge dir="${testdir}" />
</log>
<publishers>
<currentbuildstatuspublisher file="${logdir}/buildstatus.txt" />
<htmlemail mailhost="localhost"
returnaddress="${returnaddress}"
reportsuccess="fixes"
subjectprefix="[CuiseControl]"
skipusers="true"
css="/usr/local/cruise/reporting/jsp/webcontent/css/cruisecontrol.css"
xsldir="/usr/local/cruise/reporting/jsp/webcontent/xsl"
logdir="${logdir}">
<always address="[email protected]" />
<!--<failure address="[email protected]" />-->
<always address="[email protected]" />
</htmlemail>
</publishers>
</project>
<!-- These tests will run at set times/days, regardless of repository modifications -->
<project name="OpenSHA-nightly" buildafterfailed="false" requiremodification="false">
<bootstrappers>
<currentbuildstatusbootstrapper file="${logdir}/buildstatus.txt"/>
<svnbootstrapper file="ant/cc-build.xml"
localWorkingCopy="${projectdir}" />
<svnbootstrapper file="ant/build.xml"
localWorkingCopy="${projectdir}" />
<svnbootstrapper file="ant/test.xml"
localWorkingCopy="${projectdir}" />
<svnbootstrapper file="ant/cc-build.xml"
localWorkingCopy="${tomcatprojectdir}" />
<svnbootstrapper file="ant/build.xml"
localWorkingCopy="${tomcatprojectdir}" />
</bootstrappers>
<schedule>
<!-- This test runs nightly, building nightly jars -->
<ant time="0000" antscript="${ant.bin}"
buildfile="${tomcatprojectdir}/ant/cc-build-test.xml"
target="svn.update.app.build" />
<!-- This test runs nightly, updating the coverage site with daily tests -->
<ant time="0145" antscript="${ant.bin}"
buildfile="${projectdir}/ant/cc-build-test.xml"
target="svn.build.run.daily.coverage" />
<!-- This test runs every Sunday morning, updating the coverage site with all tests -->
<ant time="0200" day="sunday" antscript="${ant.bin}"
buildfile="${projectdir}/ant/cc-build-test.xml"
target="svn.build.run.weekly.coverage" />
<!-- This test runs every Thursday morning, updating the coverage site with all tests -->
<ant time="0200" day="thursday" antscript="${ant.bin}"
buildfile="${projectdir}/ant/cc-build-test.xml"
target="svn.build.run.weekly.coverage" />
</schedule>
<!-- we shouldn't need this since requiremodification=false, but a CC bug requires it to build -->
<modificationset quietperiod="60">
<svn LocalWorkingCopy="${projectdir}"/>
</modificationset>
<log dir="${logdir}">
<merge dir="${testdir}" />
</log>
<publishers>
<currentbuildstatuspublisher file="${logdir}/buildstatus.txt" />
<htmlemail mailhost="localhost"
returnaddress="${returnaddress}"
reportsuccess="fixes"
subjectprefix="[CuiseControl]"
skipusers="true"
css="/usr/local/cruise/reporting/jsp/webcontent/css/cruisecontrol.css"
xsldir="/usr/local/cruise/reporting/jsp/webcontent/xsl"
logdir="${logdir}">
<always address="[email protected]" />
<!--<failure address="[email protected]" />
<failure address="[email protected]" />-->
</htmlemail>
</publishers>
</project>
<!-- These tests will run on a regular schedule, regardless of repository modifications -->
<project name="OpenSHA-operational" buildafterfailed="false" requiremodification="false">
<bootstrappers>
<currentbuildstatusbootstrapper file="${logdir}/buildstatus.txt"/>
<svnbootstrapper file="ant/cc-build.xml"
localWorkingCopy="${projectdir}" />
<svnbootstrapper file="ant/build.xml"
localWorkingCopy="${projectdir}" />
<svnbootstrapper file="ant/test.xml"
localWorkingCopy="${projectdir}" />
</bootstrappers>
<schedule interval="3600">
<!-- This test runs hourly, making sure the system is operational (servlets, should check RMI) -->
<ant antscript="${ant.bin}"
buildfile="${projectdir}/ant/cc-build-test.xml"
target="run.operational.tests" />
</schedule>
<!-- we shouldn't need this since requiremodification=false, but a CC bug requires it to build -->
<modificationset quietperiod="60">
<svn LocalWorkingCopy="${projectdir}"/>
</modificationset>
<log dir="${logdir}">
<merge dir="${testdir}" />
</log>
<publishers>
<currentbuildstatuspublisher file="${logdir}/buildstatus.txt" />
<htmlemail mailhost="localhost"
returnaddress="${returnaddress}"
reportsuccess="fixes"
subjectprefix="[CuiseControl]"
skipusers="true"
css="/usr/local/cruise/reporting/jsp/webcontent/css/cruisecontrol.css"
xsldir="/usr/local/cruise/reporting/jsp/webcontent/xsl"
logdir="${logdir}">
<always address="[email protected]" />
<!--<failure address="[email protected]" />
<failure address="[email protected]" />-->
</htmlemail>
</publishers>
</project>
</cruisecontrol>