Index: trunk/test-server/cc-home/config.xml |
— | — | @@ -1,13 +1,15 @@ |
2 | 2 | <?xml version="1.0"?>
|
3 | 3 | <cruisecontrol>
|
4 | 4 | <project name="mw">
|
5 | | - <plugin name="svnbootstrapper" classname="net.sourceforge.cruisecontrol.bootstrappers.SVNBootstrapper"/>
|
| 5 | + <plugin name="svnbootstrapper"
|
| 6 | + classname="net.sourceforge.cruisecontrol.bootstrappers.SVNBootstrapper"/>
|
6 | 7 | <plugin name="svn" classname="net.sourceforge.cruisecontrol.sourcecontrols.SVN"/>
|
7 | 8 | <listeners>
|
8 | 9 | <currentbuildstatuslistener file="logs/${project.name}/status.txt"/>
|
9 | 10 | </listeners>
|
10 | 11 | <bootstrappers>
|
11 | | - <antbootstrapper anthome="apache-ant-1.7.0" buildfile="projects/${project.name}/build.xml" target="clean"/>
|
| 12 | + <antbootstrapper anthome="apache-ant-1.7.0"
|
| 13 | + buildfile="projects/${project.name}/build.xml" target="clean"/>
|
12 | 14 | </bootstrappers>
|
13 | 15 | <modificationset quietperiod="60">
|
14 | 16 | <!-- touch any file in connectfour project to trigger a build -->
|
— | — | @@ -21,9 +23,15 @@ |
22 | 24 | <merge dir="projects/${project.name}/build/logs"/>
|
23 | 25 | </log>
|
24 | 26 | <publishers>
|
25 | | - <artifactspublisher dir="projects/${project.name}/build/api" dest="artifacts/${project.name}" subdirectory="api"/>
|
26 | | - <artifactspublisher dir="projects/${project.name}/build/coverage" dest="artifacts/${project.name}" subdirectory="coverage"/>
|
27 | | - <execute command="phpcb --log projects/${project.name}/build/logs --source projects/${project.name}/source --output projects/${project.name}/build/${project.name}"/>
|
| 27 | + <antpublisher anthome="apache-ant-1.7.0"
|
| 28 | + buildfile="projects/${project.name}/irc-publisher.xml"/>
|
| 29 | + <artifactspublisher dir="projects/${project.name}/build/api"
|
| 30 | + dest="artifacts/${project.name}" subdirectory="api"/>
|
| 31 | + <artifactspublisher dir="projects/${project.name}/build/coverage"
|
| 32 | + dest="artifacts/${project.name}" subdirectory="coverage"/>
|
| 33 | + <execute command="phpcb --log projects/${project.name}/build/logs
|
| 34 | + --source projects/${project.name}/source
|
| 35 | + --output projects/${project.name}/build/${project.name}"/>
|
28 | 36 | <!-- <artifactspublisher dir="projects/${project.name}/build/php-code-browser" dest="artifacts/${project.name}" subdirectory="php-code-browser"/> -->
|
29 | 37 | <execute command="/usr/bin/phpuc graph logs/${project.name} artifacts/${project.name}"/>
|
30 | 38 | <!--
|
— | — | @@ -35,7 +43,7 @@ |
36 | 44 | -->
|
37 | 45 | <email mailhost="localhost"
|
38 | 46 | returnaddress="cruise@phpundercontrol.org"
|
39 | | - buildresultsurl="http://ci.tessla.usability.wikimedia.org:8080/cruisecontrol/buildresults/${project.name}"
|
| 47 | + buildresultsurl="http://ci.tesla.usability.wikimedia.org:8080/cruisecontrol/buildresults/${project.name}"
|
40 | 48 | skipusers="true" spamwhilebroken="true">
|
41 | 49 | <failure address="mah@everybody.org"/>
|
42 | 50 | </email>
|
Index: trunk/test-server/README |
— | — | @@ -6,8 +6,8 @@ |
7 | 7 | http://phpundercontrol.org/documentation/installation.html |
8 | 8 | |
9 | 9 | After that, the projects/connectfour sample directory is erased and |
10 | | -the config.xml, cruisecontrol.sh, and projects/mw directories from |
11 | | -this configuration are put into place. |
| 10 | +the contents of the cc-home directory (e.g. config.xml, |
| 11 | +cruisecontrol.sh, etc) should be copied to your cruisecontrol installation. |
12 | 12 | |
13 | 13 | Finally, add the cruisecontrol user: |
14 | 14 | |
— | — | @@ -17,6 +17,9 @@ |
18 | 18 | |
19 | 19 | cp cruisecontrol-init.d /etc/init.d/cruisecontrol |
20 | 20 | |
| 21 | +Make sure CCDIR in the init.d script points to your cruisecontrol |
| 22 | +installation. |
| 23 | + |
21 | 24 | make it executable |
22 | 25 | |
23 | 26 | chmod +x /etc/init.d/cruisecontrol |