|
1
|
1
|
new file mode 100644
|
|
...
|
...
|
@@ -0,0 +1,88 @@
|
|
|
0
|
+<?xml version='1.0' encoding='UTF-8'?>
|
|
|
1
|
+<matrix-project>
|
|
|
2
|
+ <actions/>
|
|
|
3
|
+ <description>In order for this to work, you must create a /var/lib/jenkins/xenrc file as described in README.md</description>
|
|
|
4
|
+ <keepDependencies>false</keepDependencies>
|
|
|
5
|
+ <properties>
|
|
|
6
|
+ <hudson.model.ParametersDefinitionProperty>
|
|
|
7
|
+ <parameterDefinitions>
|
|
|
8
|
+ <hudson.model.StringParameterDefinition>
|
|
|
9
|
+ <name>RC</name>
|
|
|
10
|
+ <description></description>
|
|
|
11
|
+ <defaultValue></defaultValue>
|
|
|
12
|
+ </hudson.model.StringParameterDefinition>
|
|
|
13
|
+ </parameterDefinitions>
|
|
|
14
|
+ </hudson.model.ParametersDefinitionProperty>
|
|
|
15
|
+ </properties>
|
|
|
16
|
+ <scm class="hudson.plugins.git.GitSCM">
|
|
|
17
|
+ <configVersion>2</configVersion>
|
|
|
18
|
+ <userRemoteConfigs>
|
|
|
19
|
+ <hudson.plugins.git.UserRemoteConfig>
|
|
|
20
|
+ <name>origin</name>
|
|
|
21
|
+ <refspec>+refs/heads/*:refs/remotes/origin/*</refspec>
|
|
|
22
|
+ <url>git://github.com/cloudbuilders/devstack.git</url>
|
|
|
23
|
+ </hudson.plugins.git.UserRemoteConfig>
|
|
|
24
|
+ </userRemoteConfigs>
|
|
|
25
|
+ <branches>
|
|
|
26
|
+ <hudson.plugins.git.BranchSpec>
|
|
|
27
|
+ <name>jenkins</name>
|
|
|
28
|
+ </hudson.plugins.git.BranchSpec>
|
|
|
29
|
+ </branches>
|
|
|
30
|
+ <recursiveSubmodules>false</recursiveSubmodules>
|
|
|
31
|
+ <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
|
|
32
|
+ <authorOrCommitter>false</authorOrCommitter>
|
|
|
33
|
+ <clean>false</clean>
|
|
|
34
|
+ <wipeOutWorkspace>false</wipeOutWorkspace>
|
|
|
35
|
+ <pruneBranches>false</pruneBranches>
|
|
|
36
|
+ <remotePoll>false</remotePoll>
|
|
|
37
|
+ <buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
|
|
38
|
+ <gitTool>Default</gitTool>
|
|
|
39
|
+ <submoduleCfg class="list"/>
|
|
|
40
|
+ <relativeTargetDir></relativeTargetDir>
|
|
|
41
|
+ <excludedRegions></excludedRegions>
|
|
|
42
|
+ <excludedUsers></excludedUsers>
|
|
|
43
|
+ <gitConfigName></gitConfigName>
|
|
|
44
|
+ <gitConfigEmail></gitConfigEmail>
|
|
|
45
|
+ <skipTag>false</skipTag>
|
|
|
46
|
+ <scmName></scmName>
|
|
|
47
|
+ </scm>
|
|
|
48
|
+ <canRoam>true</canRoam>
|
|
|
49
|
+ <disabled>false</disabled>
|
|
|
50
|
+ <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
|
|
51
|
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
|
|
52
|
+ <triggers class="vector"/>
|
|
|
53
|
+ <concurrentBuild>false</concurrentBuild>
|
|
|
54
|
+ <axes>
|
|
|
55
|
+ <hudson.matrix.TextAxis>
|
|
|
56
|
+ <name>ADAPTER</name>
|
|
|
57
|
+ <values>
|
|
|
58
|
+ <string>euca</string>
|
|
|
59
|
+ <string>floating_ips</string>
|
|
|
60
|
+ </values>
|
|
|
61
|
+ </hudson.matrix.TextAxis>
|
|
|
62
|
+ </axes>
|
|
|
63
|
+ <builders>
|
|
|
64
|
+ <hudson.tasks.Shell>
|
|
|
65
|
+ <command>sed -i 's/) 2>&1 | tee "${LOGFILE}"/)/' stack.sh</command>
|
|
|
66
|
+ </hudson.tasks.Shell>
|
|
|
67
|
+ <hudson.tasks.Shell>
|
|
|
68
|
+ <command>set -o errexit
|
|
|
69
|
+cd tools/jenkins
|
|
|
70
|
+sudo ./build_configuration.sh $EXECUTOR_NUMBER xs $ADAPTER "$RC"</command>
|
|
|
71
|
+ </hudson.tasks.Shell>
|
|
|
72
|
+ <hudson.tasks.Shell>
|
|
|
73
|
+ <command>#!/bin/bash
|
|
|
74
|
+set -o errexit
|
|
|
75
|
+set -o xtrace
|
|
|
76
|
+
|
|
|
77
|
+. localrc
|
|
|
78
|
+
|
|
|
79
|
+# Unlike kvm, ssh to the xen host to run tests, in case the test instance is launch with a host only network
|
|
|
80
|
+ssh root@$XEN_IP "cd devstack && . localrc && cd tools/jenkins && ./run_test.sh $EXECUTOR_NUMBER $ADAPTER '$RC'"
|
|
|
81
|
+</command>
|
|
|
82
|
+ </hudson.tasks.Shell>
|
|
|
83
|
+ </builders>
|
|
|
84
|
+ <publishers/>
|
|
|
85
|
+ <buildWrappers/>
|
|
|
86
|
+ <runSequentially>true</runSequentially>
|
|
|
87
|
+</matrix-project>
|
|
0
|
88
|
\ No newline at end of file
|