compass-core/project-config/jenkins/jobs/compass-install-e2e-aio/config.xml

136 lines
5.5 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<project>
<actions/>
<description></description>
<logRotator class="hudson.tasks.LogRotator">
<daysToKeep>30</daysToKeep>
<numToKeep>-1</numToKeep>
<artifactDaysToKeep>-1</artifactDaysToKeep>
<artifactNumToKeep>-1</artifactNumToKeep>
</logRotator>
<keepDependencies>false</keepDependencies>
<properties>
<org.jenkinsci.plugins.ZMQEventPublisher.HudsonNotificationProperty plugin="zmq-event-publisher@0.0.3">
<enabled>false</enabled>
</org.jenkinsci.plugins.ZMQEventPublisher.HudsonNotificationProperty>
</properties>
<scm class="hudson.scm.NullSCM"/>
<assignedNode>centos-install</assignedNode>
<canRoam>false</canRoam>
<disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<triggers/>
<concurrentBuild>true</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>#!/bin/bash -x
if [[ ! -e compass-core ]]; then
git clone http://git.openstack.org/openstack/compass-core
cd compass-core
if [[ ! -z $GERRIT_REFSPEC ]]; then
git fetch https://review.openstack.org/openstack/compass-core $GERRIT_REFSPEC &amp;&amp; git cherry-pick FETCH_HEAD
cd ..
fi
else
cd compass-core
git remote set-url origin https://review.openstack.org/openstack/compass-core
git remote update
git reset --hard
git clean -x -f -d -q
git checkout master
git reset --hard remotes/origin/master
git clean -x -f -d -q
if [[ ! -z $GERRIT_REFSPEC ]]; then
git fetch https://review.openstack.org/openstack/compass-core $GERRIT_REFSPEC &amp;&amp; git cherry-pick FETCH_HEAD
fi
cd ..
fi</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>#!/bin/bash -x
cp compass-core/misc/ci/*.sh .
export tempest=true
./test-install.sh</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>source compass-core/install/install.conf.template
source compass-core/regtest/regtest.conf
export USE_POLL_SWITCHES=false
export tempest=true
export DEPLOYMENT_TIMEOUT=180
/bin/bash compass-core/regtest/regtest.sh</command>
</hudson.tasks.Shell>
</builders>
<publishers>
<hudson.plugins.emailext.ExtendedEmailPublisher plugin="email-ext@2.24.1">
<recipientList>xyzjerry2258@hotmail.com, dev@syscompass.org</recipientList>
<configuredTriggers>
<hudson.plugins.emailext.plugins.trigger.FailureTrigger>
<email>
<recipientList></recipientList>
<subject>$PROJECT_DEFAULT_SUBJECT</subject>
<body>$PROJECT_DEFAULT_CONTENT</body>
<sendToDevelopers>true</sendToDevelopers>
<sendToRequester>false</sendToRequester>
<includeCulprits>false</includeCulprits>
<sendToRecipientList>true</sendToRecipientList>
</email>
</hudson.plugins.emailext.plugins.trigger.FailureTrigger>
<hudson.plugins.emailext.plugins.trigger.ImprovementTrigger>
<email>
<recipientList></recipientList>
<subject>$PROJECT_DEFAULT_SUBJECT</subject>
<body>$PROJECT_DEFAULT_CONTENT</body>
<sendToDevelopers>true</sendToDevelopers>
<sendToRequester>false</sendToRequester>
<includeCulprits>false</includeCulprits>
<sendToRecipientList>true</sendToRecipientList>
</email>
</hudson.plugins.emailext.plugins.trigger.ImprovementTrigger>
</configuredTriggers>
<contentType>default</contentType>
<defaultSubject>$DEFAULT_SUBJECT</defaultSubject>
<defaultContent>$DEFAULT_CONTENT
http://12.234.32.44/logs/$PROJECT_NAME/$BUILD_ID</defaultContent>
<attachmentsPattern></attachmentsPattern>
<presendScript></presendScript>
</hudson.plugins.emailext.ExtendedEmailPublisher>
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
<siteName>ci_log_server</siteName>
<entries>
<be.certipost.hudson.plugin.Entry>
<filePath>$JOB_NAME/$BUILD_ID</filePath>
<sourceFile></sourceFile>
<keepHierarchy>true</keepHierarchy>
<copyConsoleLog>true</copyConsoleLog>
<copyAfterFailure>true</copyAfterFailure>
</be.certipost.hudson.plugin.Entry>
<be.certipost.hudson.plugin.Entry>
<filePath>$JOB_NAME/$BUILD_ID</filePath>
<sourceFile>cobbler_logs/**/*.log</sourceFile>
<keepHierarchy>true</keepHierarchy>
<copyConsoleLog>false</copyConsoleLog>
<copyAfterFailure>true</copyAfterFailure>
</be.certipost.hudson.plugin.Entry>
<be.certipost.hudson.plugin.Entry>
<filePath>$JOB_NAME/$BUILD_ID</filePath>
<sourceFile>compass_logs/*.log</sourceFile>
<keepHierarchy>true</keepHierarchy>
<copyConsoleLog>false</copyConsoleLog>
<copyAfterFailure>true</copyAfterFailure>
</be.certipost.hudson.plugin.Entry>
<be.certipost.hudson.plugin.Entry>
<filePath>$JOB_NAME/$BUILD_ID</filePath>
<sourceFile>compass_logs/*.py</sourceFile>
<keepHierarchy>true</keepHierarchy>
<copyConsoleLog>false</copyConsoleLog>
<copyAfterFailure>true</copyAfterFailure>
</be.certipost.hudson.plugin.Entry>
</entries>
</be.certipost.hudson.plugin.SCPRepositoryPublisher>
</publishers>
<buildWrappers>
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.3.2"/>
</buildWrappers>
</project>