|
1 | 1 | <cruisecontrol xmlns:cb="urn:ccnet.config.builder">
|
2 |
| - <!-- This is your CruiseControl.NET Server Configuration file. Add your projects below! --> |
3 |
| - |
| 2 | + <!-- This is your CruiseControl.NET Server Configuration file. |
| 3 | + Add your projects below! --> |
4 | 4 |
|
5 | 5 | <project name="MyFirstProject"
|
6 | 6 | description="demoproject showing a small config">
|
7 | 7 |
|
| 8 | + <!-- specify a state folder to prevent CCNet from saving it in Program Files\CruiseControl.NET\server |
| 9 | + programs may not standard write their data in it on windows Vista and up) |
| 10 | + --> |
| 11 | + <state type="state" directory="C:\CCNet\State" /> |
| 12 | + |
| 13 | + |
| 14 | + <!-- specify a artifactDirectory to prevent CCNet from saving it in Program Files\CruiseControl.NET\server |
| 15 | + programs may not standard write their data in it on windows Vista and up) |
| 16 | + --> |
| 17 | + <artifactDirectory>C:\CCNet\BuildArtifacts\MyFirstProject</artifactDirectory> |
| 18 | + |
| 19 | + |
8 | 20 | <triggers>
|
9 |
| - <!-- check the source control every X time for changes, |
| 21 | + <!-- check the source control every X time for changes, |
10 | 22 | and run the tasks if changes are found -->
|
11 | 23 | <intervalTrigger
|
12 | 24 | name="continuous"
|
|
15 | 27 | initialSeconds="5"/>
|
16 | 28 | </triggers>
|
17 | 29 |
|
18 |
| - <sourcecontrol type="nullSourceControl" |
19 |
| - alwaysModified="true"> |
20 |
| - </sourcecontrol> |
21 |
| - |
| 30 | + <sourcecontrol type="nullSourceControl" |
| 31 | + alwaysModified="true"> |
| 32 | + </sourcecontrol> |
| 33 | + |
22 | 34 | <tasks>
|
23 |
| - <exec> |
24 |
| - <!-- if you want the task to fail, ping an unknown server --> |
25 |
| - <executable>ping.exe</executable> |
26 |
| - <buildArgs>localhost</buildArgs> |
27 |
| - <buildTimeoutSeconds>15</buildTimeoutSeconds> |
28 |
| - <description>Pinging a server</description> |
29 |
| - </exec> |
| 35 | + <exec> |
| 36 | + <!-- if you want the task to fail, ping an unknown server --> |
| 37 | + <executable>ping.exe</executable> |
| 38 | + <buildArgs>localhost</buildArgs> |
| 39 | + <buildTimeoutSeconds>15</buildTimeoutSeconds> |
| 40 | + <description>Pinging a server</description> |
| 41 | + </exec> |
30 | 42 | </tasks>
|
31 | 43 |
|
32 | 44 | <publishers>
|
|
0 commit comments