add in config.xml for xs
This commit is contained in:
parent
57346b7fcd
commit
4a10d436c0
1 changed files with 88 additions and 0 deletions
88
tools/jenkins/jenkins_home/jobs/diablo-xs_ha/config.xml
Normal file
88
tools/jenkins/jenkins_home/jobs/diablo-xs_ha/config.xml
Normal file
|
@ -0,0 +1,88 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<matrix-project>
|
||||
<actions/>
|
||||
<description>In order for this to work, you must create a /var/lib/jenkins/xenrc file as described in README.md</description>
|
||||
<keepDependencies>false</keepDependencies>
|
||||
<properties>
|
||||
<hudson.model.ParametersDefinitionProperty>
|
||||
<parameterDefinitions>
|
||||
<hudson.model.StringParameterDefinition>
|
||||
<name>RC</name>
|
||||
<description></description>
|
||||
<defaultValue></defaultValue>
|
||||
</hudson.model.StringParameterDefinition>
|
||||
</parameterDefinitions>
|
||||
</hudson.model.ParametersDefinitionProperty>
|
||||
</properties>
|
||||
<scm class="hudson.plugins.git.GitSCM">
|
||||
<configVersion>2</configVersion>
|
||||
<userRemoteConfigs>
|
||||
<hudson.plugins.git.UserRemoteConfig>
|
||||
<name>origin</name>
|
||||
<refspec>+refs/heads/*:refs/remotes/origin/*</refspec>
|
||||
<url>git://github.com/cloudbuilders/devstack.git</url>
|
||||
</hudson.plugins.git.UserRemoteConfig>
|
||||
</userRemoteConfigs>
|
||||
<branches>
|
||||
<hudson.plugins.git.BranchSpec>
|
||||
<name>jenkins</name>
|
||||
</hudson.plugins.git.BranchSpec>
|
||||
</branches>
|
||||
<recursiveSubmodules>false</recursiveSubmodules>
|
||||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
||||
<authorOrCommitter>false</authorOrCommitter>
|
||||
<clean>false</clean>
|
||||
<wipeOutWorkspace>false</wipeOutWorkspace>
|
||||
<pruneBranches>false</pruneBranches>
|
||||
<remotePoll>false</remotePoll>
|
||||
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
||||
<gitTool>Default</gitTool>
|
||||
<submoduleCfg class="list"/>
|
||||
<relativeTargetDir></relativeTargetDir>
|
||||
<excludedRegions></excludedRegions>
|
||||
<excludedUsers></excludedUsers>
|
||||
<gitConfigName></gitConfigName>
|
||||
<gitConfigEmail></gitConfigEmail>
|
||||
<skipTag>false</skipTag>
|
||||
<scmName></scmName>
|
||||
</scm>
|
||||
<canRoam>true</canRoam>
|
||||
<disabled>false</disabled>
|
||||
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||
<triggers class="vector"/>
|
||||
<concurrentBuild>false</concurrentBuild>
|
||||
<axes>
|
||||
<hudson.matrix.TextAxis>
|
||||
<name>ADAPTER</name>
|
||||
<values>
|
||||
<string>euca</string>
|
||||
<string>floating_ips</string>
|
||||
</values>
|
||||
</hudson.matrix.TextAxis>
|
||||
</axes>
|
||||
<builders>
|
||||
<hudson.tasks.Shell>
|
||||
<command>sed -i 's/) 2>&1 | tee "${LOGFILE}"/)/' stack.sh</command>
|
||||
</hudson.tasks.Shell>
|
||||
<hudson.tasks.Shell>
|
||||
<command>set -o errexit
|
||||
cd tools/jenkins
|
||||
sudo ./build_configuration.sh $EXECUTOR_NUMBER xs $ADAPTER "$RC"</command>
|
||||
</hudson.tasks.Shell>
|
||||
<hudson.tasks.Shell>
|
||||
<command>#!/bin/bash
|
||||
set -o errexit
|
||||
set -o xtrace
|
||||
|
||||
. localrc
|
||||
|
||||
# Unlike kvm, ssh to the xen host to run tests, in case the test instance is launch with a host only network
|
||||
ssh root@$XEN_IP "cd devstack && . localrc && cd tools/jenkins && ./run_test.sh $EXECUTOR_NUMBER $ADAPTER '$RC'"
|
||||
</command>
|
||||
</hudson.tasks.Shell>
|
||||
</builders>
|
||||
<publishers/>
|
||||
<buildWrappers/>
|
||||
<runSequentially>true</runSequentially>
|
||||
</matrix-project>
|
Loading…
Reference in a new issue