3b719e50fb
Change-Id: I5faf840dd6649afcb53e91f1d033447f9729cee1
89 lines
3.1 KiB
XML
89 lines
3.1 KiB
XML
<?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>master</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>
|