Skip to content

Commit 4a10d43

Browse files
add in config.xml for xs
1 parent 57346b7 commit 4a10d43

File tree

1 file changed

+88
-0
lines changed
  • tools/jenkins/jenkins_home/jobs/diablo-xs_ha

1 file changed

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

0 commit comments

Comments
 (0)