-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.xml
63 lines (61 loc) · 1.44 KB
/
sample.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
<?xml version="1.0" encoding="utf-8"?>
<cruise xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="cruise-config.xsd" schemaVersion="18">
<server artifactsdir="artifacts">
<license user=""></license>
</server>
<pipelines group="myGroup">
<pipeline name="myJavaProject">
<materials>
<hg url="http://localhost:8000/project" />
<hg url="http://localhost:8000/other" />
</materials>
<stage name="defaultStage">
<jobs>
<job name="defaultJob">
<tasks>
<ant buildfile="build.xml" target="jar" />
</tasks>
</job>
</jobs>
</stage>
</pipeline>
</pipelines>
<pipelines group="anotherGroup">
<pipeline name="myOtherJavaProject">
<materials>
<hg url="http://localhost:8000/other" />
<pipeline pipelineName="myJavaProject" stageName="defaultStage" />
</materials>
<stage name="defaultStage">
<jobs>
<job name="defaultJob">
<tasks>
<ant buildfile="build.xml" target="jar" />
</tasks>
</job>
</jobs>
</stage>
</pipeline>
</pipelines>
<pipelines group="anotherGroup">
<pipeline name="templatedPipeline" template="template">
<materials>
<hg url="http://localhost:8000/other" />
<pipeline pipelineName="myJavaProject" stageName="defaultStage" />
</materials>
</pipeline>
</pipelines>
<templates>
<pipeline name="template">
<stage name="defaultStage">
<jobs>
<job name="defaultJob">
<tasks>
<ant buildfile="build.xml" target="jar" />
</tasks>
</job>
</jobs>
</stage>
</pipeline>
</templates>
</cruise>