blob: f6a24073cafd28565c7d048466c3573233ee99b4 (
plain)
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
|
<?xml version="1.0" encoding="utf-8"?>
<project>
<publishers>
<org.jenkinsci.plugins.postbuildscript.PostBuildScript>
<config>
<markBuildUnstable>true</markBuildUnstable>
<scriptFiles>
<org.jenkinsci.plugins.postbuildscript.model.ScriptFile>
<results>
<string>SUCCESS</string>
<string>UNSTABLE</string>
</results>
<role>MASTER</role>
<filePath>/fakepath/generic</filePath>
<scriptType>GENERIC</scriptType>
</org.jenkinsci.plugins.postbuildscript.model.ScriptFile>
<org.jenkinsci.plugins.postbuildscript.model.ScriptFile>
<results>
<string>NOT_BUILT</string>
<string>ABORTED</string>
<string>FAILURE</string>
</results>
<executeOn>MATRIX</executeOn>
<role>SLAVE</role>
<filePath>/fakepath/generic-two</filePath>
<scriptType>GENERIC</scriptType>
</org.jenkinsci.plugins.postbuildscript.model.ScriptFile>
<org.jenkinsci.plugins.postbuildscript.model.ScriptFile>
<results>
<string>SUCCESS</string>
<string>UNSTABLE</string>
</results>
<executeOn>AXES</executeOn>
<role>MASTER</role>
<filePath>/fakepath/groovy</filePath>
<scriptType>GROOVY</scriptType>
</org.jenkinsci.plugins.postbuildscript.model.ScriptFile>
<org.jenkinsci.plugins.postbuildscript.model.ScriptFile>
<results>
<string>NOT_BUILT</string>
<string>ABORTED</string>
<string>FAILURE</string>
</results>
<role>SLAVE</role>
<filePath>/fakepath/groovy-too</filePath>
<scriptType>GROOVY</scriptType>
</org.jenkinsci.plugins.postbuildscript.model.ScriptFile>
</scriptFiles>
<groovyScripts>
<org.jenkinsci.plugins.postbuildscript.model.Script>
<results>
<string>SUCCESS</string>
<string>UNSTABLE</string>
</results>
<executeOn>MATRIX</executeOn>
<role>MASTER</role>
<content>println "Hello world!"</content>
</org.jenkinsci.plugins.postbuildscript.model.Script>
<org.jenkinsci.plugins.postbuildscript.model.Script>
<results>
<string>NOT_BUILT</string>
<string>ABORTED</string>
<string>FAILURE</string>
</results>
<role>SLAVE</role>
<content>println "Hello world!"
println "Multi-line script"
</content>
</org.jenkinsci.plugins.postbuildscript.model.Script>
</groovyScripts>
<buildSteps>
<org.jenkinsci.plugins.postbuildscript.model.PostBuildStep>
<results>
<string>SUCCESS</string>
<string>UNSTABLE</string>
</results>
<executeOn>AXES</executeOn>
<role>MASTER</role>
<buildSteps>
<hudson.tasks.Shell>
<command>echo "Hello world!"</command>
</hudson.tasks.Shell>
</buildSteps>
</org.jenkinsci.plugins.postbuildscript.model.PostBuildStep>
<org.jenkinsci.plugins.postbuildscript.model.PostBuildStep>
<results>
<string>NOT_BUILT</string>
<string>ABORTED</string>
<string>FAILURE</string>
</results>
<executeOn>BOTH</executeOn>
<role>SLAVE</role>
<buildSteps>
<hudson.tasks.Shell>
<command>echo "Hello world!"</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>echo "Goodbye world!"</command>
</hudson.tasks.Shell>
</buildSteps>
</org.jenkinsci.plugins.postbuildscript.model.PostBuildStep>
</buildSteps>
</config>
</org.jenkinsci.plugins.postbuildscript.PostBuildScript>
</publishers>
</project>
|