Save zuul/jenkins/gearman config on repo
- so they don't get lost when servers are down. - also place runtime_code_path.jpg in imgs/ directory Change-Id: I614c51929cb7a624fd8c6720bc8fe17a62a8ab40
This commit is contained in:
parent
fe42570fd4
commit
12fe72fa73
@ -97,7 +97,7 @@ working, working, working on the [TOPIC] branch ...
|
|||||||
* conf/ - configuration files related to newly supported target systems will be added here.
|
* conf/ - configuration files related to newly supported target systems will be added here.
|
||||||
|
|
||||||
Code Structure in Runtime:
|
Code Structure in Runtime:
|
||||||
![alt text](./runtime_code_path.jpg "Modular Components")
|
![alt text](./imgs/runtime_code_path.jpg "Modular Components")
|
||||||
|
|
||||||
Quick Guide to Users
|
Quick Guide to Users
|
||||||
--------------------
|
--------------------
|
||||||
|
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 76 KiB |
19
project-config/gearman/gearman-job-server
Normal file
19
project-config/gearman/gearman-job-server
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# This is a configuration file for /etc/default/gearman-job-server; it allows
|
||||||
|
# you to perform common modifications to the behavior of the gearman-job-server
|
||||||
|
# daemon startup without editing the init script (and thus getting prompted by
|
||||||
|
# dpkg on upgrades). We all love dpkg prompts.
|
||||||
|
|
||||||
|
# Examples ( from http://gearman.org/index.php?id=manual:job_server )
|
||||||
|
#
|
||||||
|
# Use drizzle as persistent queue store
|
||||||
|
# PARAMS="-q libdrizzle --libdrizzle-db=some_db --libdrizzle-table=gearman_queue"
|
||||||
|
#
|
||||||
|
# Use mysql as persistent queue store
|
||||||
|
# PARAMS="-q libdrizzle --libdrizzle-host=10.0.0.1 --libdrizzle-user=gearman \
|
||||||
|
# --libdrizzle-password=secret --libdrizzle-db=some_db \
|
||||||
|
# --libdrizzle-table=gearman_queue --libdrizzle-mysql"
|
||||||
|
#
|
||||||
|
# Missing examples for memcache persitent queue store...
|
||||||
|
|
||||||
|
# Parameters to pass to gearmand.
|
||||||
|
PARAMS="--listen=0.0.0.0 --verbose=DEBUG"
|
@ -0,0 +1,62 @@
|
|||||||
|
<?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>true</enabled>
|
||||||
|
</org.jenkinsci.plugins.ZMQEventPublisher.HudsonNotificationProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>precise</assignedNode>
|
||||||
|
<canRoam>false</canRoam>
|
||||||
|
<disabled>false</disabled>
|
||||||
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||||
|
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||||
|
<triggers/>
|
||||||
|
<concurrentBuild>true</concurrentBuild>
|
||||||
|
<builders>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>/home/jenkins/script/gerrit-git-prep.sh https://review.openstack.org git://git.openstack.org</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>/home/jenkins/script/run-docs.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
</entries>
|
||||||
|
</be.certipost.hudson.plugin.SCPRepositoryPublisher>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>doc-draft/$LOG_PATH</filePath>
|
||||||
|
<sourceFile>doc/build/html/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>false</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>
|
121
project-config/jenkins/jobs/compass-adapters-e2e/config.xml
Normal file
121
project-config/jenkins/jobs/compass-adapters-e2e/config.xml
Normal file
@ -0,0 +1,121 @@
|
|||||||
|
<?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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>OFFLINE_NODE_WHEN_COMPLETE</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>1</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</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 https://git.openstack.org/stackforge/compass-core
|
||||||
|
else
|
||||||
|
cd compass-core
|
||||||
|
git remote set-url origin https://git.openstack.org/stackforge/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
|
||||||
|
cd ..
|
||||||
|
fi
|
||||||
|
cd compass-core
|
||||||
|
if [[ ! -z $ZUUL_REF || ! -z $GERRIT_REFSPEC ]]; then
|
||||||
|
if [[ ! -z $ZUUL_REF ]]; then
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
elif [[ ! -z $GERRIT_REFSPEC ]]; then
|
||||||
|
git_repo=https://$GERRIT_HOST/stackforge/compass-core
|
||||||
|
git_ref=$GERRIT_REFSPEC
|
||||||
|
git_branch=$GERRIT_BRANCH
|
||||||
|
fi
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref && git checkout FETCH_HEAD
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "failed to git fetch $git_repo $git_ref or no ref for this project"
|
||||||
|
fi
|
||||||
|
git clean -x -f
|
||||||
|
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
|
||||||
|
export USE_POLL_SWITCHES=false
|
||||||
|
source compass-core/regtest/regtest.conf
|
||||||
|
export DEPLOYMENT_TIMEOUT=180
|
||||||
|
/bin/bash compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>ci_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</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>
|
136
project-config/jenkins/jobs/compass-bare-daily-7vm/config.xml
Normal file
136
project-config/jenkins/jobs/compass-bare-daily-7vm/config.xml
Normal file
@ -0,0 +1,136 @@
|
|||||||
|
<?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>compass-bare-11</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/stackforge/compass-core
|
||||||
|
cd compass-core
|
||||||
|
if [[ ! -z $GERRIT_REFSPEC ]]; then
|
||||||
|
git fetch https://review.openstack.org/stackforge/compass-core $GERRIT_REFSPEC && git cherry-pick FETCH_HEAD
|
||||||
|
cd ..
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
cd compass-core
|
||||||
|
git remote set-url origin https://review.openstack.org/stackforge/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/stackforge/compass-core $GERRIT_REFSPEC && 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/regtest3.conf
|
||||||
|
export tempest=true
|
||||||
|
export tempest_network=true
|
||||||
|
export tempest_full=true
|
||||||
|
/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>local_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/**</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>
|
136
project-config/jenkins/jobs/compass-bare-daily-allin1/config.xml
Normal file
136
project-config/jenkins/jobs/compass-bare-daily-allin1/config.xml
Normal file
@ -0,0 +1,136 @@
|
|||||||
|
<?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>compass-bare-11</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/stackforge/compass-core
|
||||||
|
cd compass-core
|
||||||
|
if [[ ! -z $GERRIT_REFSPEC ]]; then
|
||||||
|
git fetch https://review.openstack.org/stackforge/compass-core $GERRIT_REFSPEC && git cherry-pick FETCH_HEAD
|
||||||
|
cd ..
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
cd compass-core
|
||||||
|
git remote set-url origin https://review.openstack.org/stackforge/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/stackforge/compass-core $GERRIT_REFSPEC && 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 tempest=true
|
||||||
|
export tempest_network=true
|
||||||
|
export tempest_full=true
|
||||||
|
/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>local_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>
|
99
project-config/jenkins/jobs/compass-bare-demo-7vm/config.xml
Normal file
99
project-config/jenkins/jobs/compass-bare-demo-7vm/config.xml
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
<?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>compass-demo</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/stackforge/compass-core
|
||||||
|
cd compass-core
|
||||||
|
if [[ ! -z $GERRIT_REFSPEC ]]; then
|
||||||
|
git fetch https://review.openstack.org/stackforge/compass-core $GERRIT_REFSPEC && git cherry-pick FETCH_HEAD
|
||||||
|
cd ..
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
cd compass-core
|
||||||
|
git remote set-url origin https://review.openstack.org/stackforge/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/stackforge/compass-core $GERRIT_REFSPEC && 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
|
||||||
|
compass check</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<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/**</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>
|
121
project-config/jenkins/jobs/compass-bare-dev-demo/config.xml
Normal file
121
project-config/jenkins/jobs/compass-bare-dev-demo/config.xml
Normal file
@ -0,0 +1,121 @@
|
|||||||
|
<?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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>dev/experimental</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-demo</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
if [[ ! -e compass-core ]]; then
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
else
|
||||||
|
cd compass-core
|
||||||
|
git remote set-url origin https://git.openstack.org/stackforge/compass-core
|
||||||
|
git remote update
|
||||||
|
git reset --hard
|
||||||
|
git clean -x -f -d -q
|
||||||
|
git checkout $ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$ZUUL_BRANCH
|
||||||
|
git clean -x -f -d -q
|
||||||
|
cd ..
|
||||||
|
fi
|
||||||
|
cd compass-core
|
||||||
|
if [[ ! -z $ZUUL_REF || ! -z $GERRIT_REFSPEC ]]; then
|
||||||
|
if [[ ! -z $ZUUL_REF ]]; then
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
elif [[ ! -z $GERRIT_REFSPEC ]]; then
|
||||||
|
git_repo=https://$GERRIT_HOST/stackforge/compass-core
|
||||||
|
git_ref=$GERRIT_REFSPEC
|
||||||
|
git_branch=$GERRIT_BRANCH
|
||||||
|
fi
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref:$git_branch
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "failed to git fetch $git_repo $git_ref or no ref for this project"
|
||||||
|
fi
|
||||||
|
git clean -x -f
|
||||||
|
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
|
||||||
|
compass check</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_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/**</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>
|
@ -0,0 +1,114 @@
|
|||||||
|
<?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>compass-bare</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 https://git.openstack.org/stackforge/compass-core
|
||||||
|
else
|
||||||
|
cd compass-core
|
||||||
|
git remote set-url origin https://git.openstack.org/stackforge/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
|
||||||
|
cd ..
|
||||||
|
fi
|
||||||
|
cd compass-core
|
||||||
|
if [[ ! -z $ZUUL_REF || ! -z $GERRIT_REFSPEC ]]; then
|
||||||
|
if [[ ! -z $ZUUL_REF ]]; then
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
elif [[ ! -z $GERRIT_REFSPEC ]]; then
|
||||||
|
git_repo=https://$GERRIT_HOST/stackforge/compass-core
|
||||||
|
git_ref=$GERRIT_REFSPEC
|
||||||
|
git_branch=$GERRIT_BRANCH
|
||||||
|
fi
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref && git checkout FETCH_HEAD
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "failed to git fetch $git_repo $git_ref or no ref for this project"
|
||||||
|
fi
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
./test-install.sh
|
||||||
|
compass check</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>source compass-core/install/install.conf.template
|
||||||
|
source compass-core/regtest/regtest7.conf
|
||||||
|
export tempest=true
|
||||||
|
export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
/bin/bash compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>ci_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/compass.log</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>
|
112
project-config/jenkins/jobs/compass-bare-e2e-7vm/config.xml
Normal file
112
project-config/jenkins/jobs/compass-bare-e2e-7vm/config.xml
Normal file
@ -0,0 +1,112 @@
|
|||||||
|
<?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>compass-bare</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 https://git.openstack.org/stackforge/compass-core
|
||||||
|
else
|
||||||
|
cd compass-core
|
||||||
|
git remote set-url origin https://git.openstack.org/stackforge/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
|
||||||
|
cd ..
|
||||||
|
fi
|
||||||
|
cd compass-core
|
||||||
|
if [[ ! -z $ZUUL_REF || ! -z $GERRIT_REFSPEC ]]; then
|
||||||
|
if [[ ! -z $ZUUL_REF ]]; then
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
elif [[ ! -z $GERRIT_REFSPEC ]]; then
|
||||||
|
git_repo=https://$GERRIT_HOST/stackforge/compass-core
|
||||||
|
git_ref=$GERRIT_REFSPEC
|
||||||
|
git_branch=$GERRIT_BRANCH
|
||||||
|
fi
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref && git checkout FETCH_HEAD
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "failed to git fetch $git_repo $git_ref or no ref for this project"
|
||||||
|
fi
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>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/regtest3.conf
|
||||||
|
export tempest=true
|
||||||
|
export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
/bin/bash compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>ci_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/compass.log</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>
|
@ -0,0 +1,130 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>30</daysToKeep>
|
||||||
|
<numToKeep>10</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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>dev/experimental</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
killall celeryd |exit 0
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
./test-install.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
export tempest=true
|
||||||
|
export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
export REGTEST_CONF=regtest11.conf
|
||||||
|
./compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/*.py</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>chef_logs/**</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.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.14">
|
||||||
|
<strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
|
||||||
|
<timeoutMinutes>180</timeoutMinutes>
|
||||||
|
</strategy>
|
||||||
|
<operationList>
|
||||||
|
<hudson.plugins.build__timeout.operations.AbortOperation/>
|
||||||
|
</operationList>
|
||||||
|
</hudson.plugins.build__timeout.BuildTimeoutWrapper>
|
||||||
|
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.3.2"/>
|
||||||
|
</buildWrappers>
|
||||||
|
</project>
|
@ -0,0 +1,130 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>30</daysToKeep>
|
||||||
|
<numToKeep>10</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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>dev/experimental</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
killall celeryd |exit 0
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
./test-install.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
export tempest=true
|
||||||
|
export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
export REGTEST_CONF=regtest12.conf
|
||||||
|
./compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/*.py</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>chef_logs/**</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.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.14">
|
||||||
|
<strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
|
||||||
|
<timeoutMinutes>180</timeoutMinutes>
|
||||||
|
</strategy>
|
||||||
|
<operationList>
|
||||||
|
<hudson.plugins.build__timeout.operations.AbortOperation/>
|
||||||
|
</operationList>
|
||||||
|
</hudson.plugins.build__timeout.BuildTimeoutWrapper>
|
||||||
|
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.3.2"/>
|
||||||
|
</buildWrappers>
|
||||||
|
</project>
|
@ -0,0 +1,130 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>30</daysToKeep>
|
||||||
|
<numToKeep>10</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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>dev/experimental</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
killall celeryd |exit 0
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
./test-install.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
source compass-core/regtest/regtest.conf
|
||||||
|
export tempest=true
|
||||||
|
export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
./compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/*.py</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>chef_logs/**</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.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.14">
|
||||||
|
<strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
|
||||||
|
<timeoutMinutes>180</timeoutMinutes>
|
||||||
|
</strategy>
|
||||||
|
<operationList>
|
||||||
|
<hudson.plugins.build__timeout.operations.AbortOperation/>
|
||||||
|
</operationList>
|
||||||
|
</hudson.plugins.build__timeout.BuildTimeoutWrapper>
|
||||||
|
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.3.2"/>
|
||||||
|
</buildWrappers>
|
||||||
|
</project>
|
@ -0,0 +1,129 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?><project>
|
||||||
|
<actions/>
|
||||||
|
<description/>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>30</daysToKeep>
|
||||||
|
<numToKeep>10</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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description/>
|
||||||
|
<defaultValue>dev/experimental</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
killall celeryd |exit 0
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
./test-install.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
export tempest=true
|
||||||
|
export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
export REGTEST_CONF=regtest8.conf
|
||||||
|
./compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile/>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/*.py</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>chef_logs/**</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.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.14">
|
||||||
|
<strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
|
||||||
|
<timeoutMinutes>180</timeoutMinutes>
|
||||||
|
</strategy>
|
||||||
|
<operationList>
|
||||||
|
<hudson.plugins.build__timeout.operations.AbortOperation/>
|
||||||
|
</operationList>
|
||||||
|
</hudson.plugins.build__timeout.BuildTimeoutWrapper>
|
||||||
|
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.3.2"/>
|
||||||
|
</buildWrappers>
|
||||||
|
</project>
|
@ -0,0 +1,124 @@
|
|||||||
|
<?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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>master</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
killall celeryd |exit 0
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
export REGTEST=true
|
||||||
|
./test-install.sh
|
||||||
|
compass check</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
export tempest=true
|
||||||
|
export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
export REGTEST_CONF=regtest8.conf
|
||||||
|
./compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/compass.log</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/*.py</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>chef_logs/**</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>
|
@ -0,0 +1,130 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>30</daysToKeep>
|
||||||
|
<numToKeep>10</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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>dev/experimental</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
killall celeryd |exit 0
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
./test-install.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
export tempest=true
|
||||||
|
export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
export REGTEST_CONF=regtest13.conf
|
||||||
|
./compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/*.py</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>chef_logs/**</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.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.14">
|
||||||
|
<strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
|
||||||
|
<timeoutMinutes>180</timeoutMinutes>
|
||||||
|
</strategy>
|
||||||
|
<operationList>
|
||||||
|
<hudson.plugins.build__timeout.operations.AbortOperation/>
|
||||||
|
</operationList>
|
||||||
|
</hudson.plugins.build__timeout.BuildTimeoutWrapper>
|
||||||
|
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.3.2"/>
|
||||||
|
</buildWrappers>
|
||||||
|
</project>
|
134
project-config/jenkins/jobs/compass-bare-e2e-allin1/config.xml
Normal file
134
project-config/jenkins/jobs/compass-bare-e2e-allin1/config.xml
Normal file
@ -0,0 +1,134 @@
|
|||||||
|
<?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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>master</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.BooleanParameterDefinition>
|
||||||
|
<name>REGTEST</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>true</defaultValue>
|
||||||
|
</hudson.model.BooleanParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
killall celeryd |exit 0
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
export REGTEST=true
|
||||||
|
./test-install.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
source compass-core/regtest/regtest.conf
|
||||||
|
# export tempest=true
|
||||||
|
# export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
./compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/*.py</sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>false</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>chef_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>false</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
</entries>
|
||||||
|
</be.certipost.hudson.plugin.SCPRepositoryPublisher>
|
||||||
|
</publishers>
|
||||||
|
<buildWrappers>
|
||||||
|
<hudson.plugins.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.14">
|
||||||
|
<strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
|
||||||
|
<timeoutMinutes>180</timeoutMinutes>
|
||||||
|
</strategy>
|
||||||
|
<operationList/>
|
||||||
|
</hudson.plugins.build__timeout.BuildTimeoutWrapper>
|
||||||
|
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.3.2"/>
|
||||||
|
</buildWrappers>
|
||||||
|
</project>
|
@ -0,0 +1,118 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>30</daysToKeep>
|
||||||
|
<numToKeep>10</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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>dev/experimental</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
./compass-core/regtest/ansible/ci/deploy.sh compass-core/regtest/ansible/ci/allinone.conf</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/*.py</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>chef_logs/**</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.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.14">
|
||||||
|
<strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
|
||||||
|
<timeoutMinutes>180</timeoutMinutes>
|
||||||
|
</strategy>
|
||||||
|
<operationList>
|
||||||
|
<hudson.plugins.build__timeout.operations.AbortOperation/>
|
||||||
|
</operationList>
|
||||||
|
</hudson.plugins.build__timeout.BuildTimeoutWrapper>
|
||||||
|
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.3.2"/>
|
||||||
|
</buildWrappers>
|
||||||
|
</project>
|
@ -0,0 +1,148 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>30</daysToKeep>
|
||||||
|
<numToKeep>10</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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>dev/experimental</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</assignedNode>
|
||||||
|
<canRoam>false</canRoam>
|
||||||
|
<disabled>false</disabled>
|
||||||
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||||
|
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||||
|
<triggers>
|
||||||
|
<hudson.triggers.TimerTrigger>
|
||||||
|
<spec>H 2 * * 0-5</spec>
|
||||||
|
</hudson.triggers.TimerTrigger>
|
||||||
|
</triggers>
|
||||||
|
<concurrentBuild>true</concurrentBuild>
|
||||||
|
<builders>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
if [[ -e compass-core ]]; then
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
killall celeryd |exit 0
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
./test-install.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
export tempest=true
|
||||||
|
export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
REGTEST_CONF=regtest5.conf
|
||||||
|
./compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<hudson.plugins.emailext.ExtendedEmailPublisher plugin="email-ext@2.24.1">
|
||||||
|
<recipientList>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>
|
||||||
|
</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>local_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/**</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>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$JOB_NAME/$BUILD_ID</filePath>
|
||||||
|
<sourceFile>chef_logs/**</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>
|
@ -0,0 +1,156 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>30</daysToKeep>
|
||||||
|
<numToKeep>10</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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>dev/experimental</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</assignedNode>
|
||||||
|
<canRoam>false</canRoam>
|
||||||
|
<disabled>false</disabled>
|
||||||
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||||
|
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||||
|
<triggers>
|
||||||
|
<hudson.triggers.TimerTrigger>
|
||||||
|
<spec>H 2 * * 0-5</spec>
|
||||||
|
</hudson.triggers.TimerTrigger>
|
||||||
|
</triggers>
|
||||||
|
<concurrentBuild>true</concurrentBuild>
|
||||||
|
<builders>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
if [[ -e compass-core ]]; then
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
killall celeryd |exit 0
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
./test-install.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
export tempest=true
|
||||||
|
export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
REGTEST_CONF=regtest10.conf
|
||||||
|
./compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<hudson.plugins.emailext.ExtendedEmailPublisher plugin="email-ext@2.24.1">
|
||||||
|
<recipientList>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>
|
||||||
|
</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>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/*.py</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>chef_logs/**</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.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.14">
|
||||||
|
<strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
|
||||||
|
<timeoutMinutes>180</timeoutMinutes>
|
||||||
|
</strategy>
|
||||||
|
<operationList>
|
||||||
|
<hudson.plugins.build__timeout.operations.AbortOperation/>
|
||||||
|
</operationList>
|
||||||
|
</hudson.plugins.build__timeout.BuildTimeoutWrapper>
|
||||||
|
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.3.2"/>
|
||||||
|
</buildWrappers>
|
||||||
|
</project>
|
@ -0,0 +1,152 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>30</daysToKeep>
|
||||||
|
<numToKeep>10</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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>master</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
killall celeryd |exit 0
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
./test-install.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
export tempest=false
|
||||||
|
export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
REGTEST_CONF=regtest10.conf
|
||||||
|
./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>
|
||||||
|
</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>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/*.py</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>chef_logs/**</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.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.14">
|
||||||
|
<strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
|
||||||
|
<timeoutMinutes>180</timeoutMinutes>
|
||||||
|
</strategy>
|
||||||
|
<operationList>
|
||||||
|
<hudson.plugins.build__timeout.operations.AbortOperation/>
|
||||||
|
</operationList>
|
||||||
|
</hudson.plugins.build__timeout.BuildTimeoutWrapper>
|
||||||
|
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.3.2"/>
|
||||||
|
</buildWrappers>
|
||||||
|
</project>
|
@ -0,0 +1,144 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>30</daysToKeep>
|
||||||
|
<numToKeep>10</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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>master</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
killall celeryd |exit 0
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
./test-install.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
export tempest=false
|
||||||
|
export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
REGTEST_CONF=regtest5.conf
|
||||||
|
./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>
|
||||||
|
</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>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/*.py</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>chef_logs/**</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>
|
@ -0,0 +1,129 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?><project>
|
||||||
|
<actions/>
|
||||||
|
<description/>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>30</daysToKeep>
|
||||||
|
<numToKeep>10</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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description/>
|
||||||
|
<defaultValue>dev/experimental</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
killall celeryd |exit 0
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
./test-install.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
export tempest=true
|
||||||
|
export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
export REGTEST_CONF=regtest3.conf
|
||||||
|
./compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile/>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/*.py</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>chef_logs/**</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.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.14">
|
||||||
|
<strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
|
||||||
|
<timeoutMinutes>180</timeoutMinutes>
|
||||||
|
</strategy>
|
||||||
|
<operationList>
|
||||||
|
<hudson.plugins.build__timeout.operations.AbortOperation/>
|
||||||
|
</operationList>
|
||||||
|
</hudson.plugins.build__timeout.BuildTimeoutWrapper>
|
||||||
|
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.3.2"/>
|
||||||
|
</buildWrappers>
|
||||||
|
</project>
|
@ -0,0 +1,123 @@
|
|||||||
|
<?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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>master</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
killall celeryd |exit 0
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
export REGTEST=true
|
||||||
|
./test-install.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
export tempest=true
|
||||||
|
export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
export REGTEST_CONF=regtest3.conf
|
||||||
|
./compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/*.py</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>chef_logs/**</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>
|
@ -0,0 +1,122 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?><project>
|
||||||
|
<actions/>
|
||||||
|
<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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description/>
|
||||||
|
<defaultValue>dev/experimental</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
killall celeryd |exit 0
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
./test-install.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
export tempest=true
|
||||||
|
export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
export REGTEST_CONF=regtest6.conf
|
||||||
|
./compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile/>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</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.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.14">
|
||||||
|
<strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
|
||||||
|
<timeoutMinutes>180</timeoutMinutes>
|
||||||
|
</strategy>
|
||||||
|
<operationList>
|
||||||
|
<hudson.plugins.build__timeout.operations.AbortOperation/>
|
||||||
|
</operationList>
|
||||||
|
</hudson.plugins.build__timeout.BuildTimeoutWrapper>
|
||||||
|
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.3.2"/>
|
||||||
|
</buildWrappers>
|
||||||
|
</project>
|
@ -0,0 +1,123 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?><project>
|
||||||
|
<actions/>
|
||||||
|
<description/>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>30</daysToKeep>
|
||||||
|
<numToKeep>10</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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description/>
|
||||||
|
<defaultValue>dev/experimental</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
killall celeryd |exit 0
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
./test-install.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
|
||||||
|
export tempest=true
|
||||||
|
export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
export REGTEST_CONF=regtest7.conf
|
||||||
|
./compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile/>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</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.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.14">
|
||||||
|
<strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
|
||||||
|
<timeoutMinutes>180</timeoutMinutes>
|
||||||
|
</strategy>
|
||||||
|
<operationList>
|
||||||
|
<hudson.plugins.build__timeout.operations.AbortOperation/>
|
||||||
|
</operationList>
|
||||||
|
</hudson.plugins.build__timeout.BuildTimeoutWrapper>
|
||||||
|
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.3.2"/>
|
||||||
|
</buildWrappers>
|
||||||
|
</project>
|
@ -0,0 +1,116 @@
|
|||||||
|
<?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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>master</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
killall celeryd |exit 0
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
./test-install.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
|
||||||
|
export tempest=true
|
||||||
|
export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
export REGTEST_CONF=regtest7.conf
|
||||||
|
./compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</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>
|
115
project-config/jenkins/jobs/compass-bare-e2e-osonly/config.xml
Normal file
115
project-config/jenkins/jobs/compass-bare-e2e-osonly/config.xml
Normal file
@ -0,0 +1,115 @@
|
|||||||
|
<?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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>master</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
killall celeryd |exit 0
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
./test-install.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
export tempest=true
|
||||||
|
export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
export REGTEST_CONF=regtest6.conf
|
||||||
|
./compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</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>
|
@ -0,0 +1,130 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>30</daysToKeep>
|
||||||
|
<numToKeep>10</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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>dev/experimental</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
killall celeryd |exit 0
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
./test-install.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
export tempest=true
|
||||||
|
export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
export REGTEST_CONF=regtest4.conf
|
||||||
|
./compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/*.py</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>chef_logs/**</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.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.14">
|
||||||
|
<strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
|
||||||
|
<timeoutMinutes>180</timeoutMinutes>
|
||||||
|
</strategy>
|
||||||
|
<operationList>
|
||||||
|
<hudson.plugins.build__timeout.operations.AbortOperation/>
|
||||||
|
</operationList>
|
||||||
|
</hudson.plugins.build__timeout.BuildTimeoutWrapper>
|
||||||
|
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.3.2"/>
|
||||||
|
</buildWrappers>
|
||||||
|
</project>
|
@ -0,0 +1,130 @@
|
|||||||
|
<?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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>dev/experimental</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
killall celeryd |exit 0
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
./test-install.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
export tempest=true
|
||||||
|
export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
export REGTEST_CONF=regtest9.conf
|
||||||
|
./compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/*.py</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>chef_logs/**</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.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.14">
|
||||||
|
<strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
|
||||||
|
<timeoutMinutes>180</timeoutMinutes>
|
||||||
|
</strategy>
|
||||||
|
<operationList>
|
||||||
|
<hudson.plugins.build__timeout.operations.AbortOperation/>
|
||||||
|
</operationList>
|
||||||
|
</hudson.plugins.build__timeout.BuildTimeoutWrapper>
|
||||||
|
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.3.2"/>
|
||||||
|
</buildWrappers>
|
||||||
|
</project>
|
@ -0,0 +1,123 @@
|
|||||||
|
<?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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>master</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
killall celeryd |exit 0
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
export REGTEST=true
|
||||||
|
./test-install.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
# export tempest=true
|
||||||
|
# export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
export REGTEST_CONF=regtest9.conf
|
||||||
|
./compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/*.py</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>chef_logs/**</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>
|
@ -0,0 +1,129 @@
|
|||||||
|
<?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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>master</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
killall celeryd |exit 0
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
export REGTEST=true
|
||||||
|
./test-install.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
# export tempest=true
|
||||||
|
# export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
export REGTEST_CONF=regtest4.conf
|
||||||
|
./compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/*.py</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>chef_logs/**</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.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.14">
|
||||||
|
<strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
|
||||||
|
<timeoutMinutes>180</timeoutMinutes>
|
||||||
|
</strategy>
|
||||||
|
<operationList/>
|
||||||
|
</hudson.plugins.build__timeout.BuildTimeoutWrapper>
|
||||||
|
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.3.2"/>
|
||||||
|
</buildWrappers>
|
||||||
|
</project>
|
@ -0,0 +1,130 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description>conf to run 1 instance with single-contoller-multi-compute flavor</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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>dev/experimental</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
killall celeryd |exit 0
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
./test-install.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
export tempest=true
|
||||||
|
export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
export REGTEST_CONF=regtest2.conf
|
||||||
|
./compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/*.py</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>chef_logs/**</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.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.14">
|
||||||
|
<strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
|
||||||
|
<timeoutMinutes>180</timeoutMinutes>
|
||||||
|
</strategy>
|
||||||
|
<operationList>
|
||||||
|
<hudson.plugins.build__timeout.operations.AbortOperation/>
|
||||||
|
</operationList>
|
||||||
|
</hudson.plugins.build__timeout.BuildTimeoutWrapper>
|
||||||
|
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.3.2"/>
|
||||||
|
</buildWrappers>
|
||||||
|
</project>
|
@ -0,0 +1,129 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description>conf to run 1 instance with single-contoller-multi-compute flavor</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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>master</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-bare</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
killall celeryd |exit 0
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
export REGTEST=true
|
||||||
|
./test-install.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
# export tempest=true
|
||||||
|
# export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
export REGTEST_CONF=regtest2.conf
|
||||||
|
./compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/*.py</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>chef_logs/**</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.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.14">
|
||||||
|
<strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
|
||||||
|
<timeoutMinutes>180</timeoutMinutes>
|
||||||
|
</strategy>
|
||||||
|
<operationList/>
|
||||||
|
</hudson.plugins.build__timeout.BuildTimeoutWrapper>
|
||||||
|
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.3.2"/>
|
||||||
|
</buildWrappers>
|
||||||
|
</project>
|
111
project-config/jenkins/jobs/compass-core-coverage-xml/config.xml
Normal file
111
project-config/jenkins/jobs/compass-core-coverage-xml/config.xml
Normal file
@ -0,0 +1,111 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>15</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.2">
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</org.jenkinsci.plugins.ZMQEventPublisher.HudsonNotificationProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>coverage</assignedNode>
|
||||||
|
<canRoam>false</canRoam>
|
||||||
|
<disabled>false</disabled>
|
||||||
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||||
|
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||||
|
<triggers/>
|
||||||
|
<concurrentBuild>true</concurrentBuild>
|
||||||
|
<builders>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -xe
|
||||||
|
if [[ ! -e compass-core ]]; then
|
||||||
|
git clone http://git.openstack.org/stackforge/compass-core
|
||||||
|
cd compass-core
|
||||||
|
git fetch https://review.openstack.org/stackforge/compass-core $GERRIT_REFSPEC && git checkout FETCH_HEAD
|
||||||
|
else
|
||||||
|
cd compass-core
|
||||||
|
git remote set-url origin https://review.openstack.org/stackforge/compass-core
|
||||||
|
git remote update
|
||||||
|
git reset --hard
|
||||||
|
git clean -x -f -d -q
|
||||||
|
git checkout master
|
||||||
|
git reset --hard remotes/origin/master
|
||||||
|
git fetch https://review.openstack.org/stackforge/compass-core $GERRIT_REFSPEC && git checkout FETCH_HEAD
|
||||||
|
git clean -x -f -d -q
|
||||||
|
fi
|
||||||
|
tox -ereport</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<hudson.plugins.cobertura.CoberturaPublisher plugin="cobertura@1.9.2">
|
||||||
|
<coberturaReportFile>**/compass-core/coverage.xml</coberturaReportFile>
|
||||||
|
<onlyStable>false</onlyStable>
|
||||||
|
<failUnhealthy>false</failUnhealthy>
|
||||||
|
<failUnstable>false</failUnstable>
|
||||||
|
<autoUpdateHealth>false</autoUpdateHealth>
|
||||||
|
<autoUpdateStability>false</autoUpdateStability>
|
||||||
|
<zoomCoverageChart>false</zoomCoverageChart>
|
||||||
|
<maxNumberOfBuilds>0</maxNumberOfBuilds>
|
||||||
|
<failNoReports>true</failNoReports>
|
||||||
|
<healthyTarget>
|
||||||
|
<targets class="enum-map" enum-type="hudson.plugins.cobertura.targets.CoverageMetric">
|
||||||
|
<entry>
|
||||||
|
<hudson.plugins.cobertura.targets.CoverageMetric>METHOD</hudson.plugins.cobertura.targets.CoverageMetric>
|
||||||
|
<int>8000000</int>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<hudson.plugins.cobertura.targets.CoverageMetric>LINE</hudson.plugins.cobertura.targets.CoverageMetric>
|
||||||
|
<int>8000000</int>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<hudson.plugins.cobertura.targets.CoverageMetric>CONDITIONAL</hudson.plugins.cobertura.targets.CoverageMetric>
|
||||||
|
<int>7000000</int>
|
||||||
|
</entry>
|
||||||
|
</targets>
|
||||||
|
</healthyTarget>
|
||||||
|
<unhealthyTarget>
|
||||||
|
<targets class="enum-map" enum-type="hudson.plugins.cobertura.targets.CoverageMetric">
|
||||||
|
<entry>
|
||||||
|
<hudson.plugins.cobertura.targets.CoverageMetric>METHOD</hudson.plugins.cobertura.targets.CoverageMetric>
|
||||||
|
<int>0</int>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<hudson.plugins.cobertura.targets.CoverageMetric>LINE</hudson.plugins.cobertura.targets.CoverageMetric>
|
||||||
|
<int>0</int>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<hudson.plugins.cobertura.targets.CoverageMetric>CONDITIONAL</hudson.plugins.cobertura.targets.CoverageMetric>
|
||||||
|
<int>0</int>
|
||||||
|
</entry>
|
||||||
|
</targets>
|
||||||
|
</unhealthyTarget>
|
||||||
|
<failingTarget>
|
||||||
|
<targets class="enum-map" enum-type="hudson.plugins.cobertura.targets.CoverageMetric">
|
||||||
|
<entry>
|
||||||
|
<hudson.plugins.cobertura.targets.CoverageMetric>METHOD</hudson.plugins.cobertura.targets.CoverageMetric>
|
||||||
|
<int>0</int>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<hudson.plugins.cobertura.targets.CoverageMetric>LINE</hudson.plugins.cobertura.targets.CoverageMetric>
|
||||||
|
<int>0</int>
|
||||||
|
</entry>
|
||||||
|
<entry>
|
||||||
|
<hudson.plugins.cobertura.targets.CoverageMetric>CONDITIONAL</hudson.plugins.cobertura.targets.CoverageMetric>
|
||||||
|
<int>0</int>
|
||||||
|
</entry>
|
||||||
|
</targets>
|
||||||
|
</failingTarget>
|
||||||
|
<sourceEncoding>ASCII</sourceEncoding>
|
||||||
|
</hudson.plugins.cobertura.CoberturaPublisher>
|
||||||
|
</publishers>
|
||||||
|
<buildWrappers>
|
||||||
|
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.3.2"/>
|
||||||
|
</buildWrappers>
|
||||||
|
</project>
|
113
project-config/jenkins/jobs/compass-core-coverage/config.xml
Normal file
113
project-config/jenkins/jobs/compass-core-coverage/config.xml
Normal file
@ -0,0 +1,113 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>15</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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>master</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>precise</assignedNode>
|
||||||
|
<canRoam>false</canRoam>
|
||||||
|
<disabled>false</disabled>
|
||||||
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||||
|
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||||
|
<triggers>
|
||||||
|
<hudson.triggers.TimerTrigger>
|
||||||
|
<spec>H 02 * * 2-6</spec>
|
||||||
|
</hudson.triggers.TimerTrigger>
|
||||||
|
</triggers>
|
||||||
|
<concurrentBuild>true</concurrentBuild>
|
||||||
|
<builders>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
if [[ -e compass-core ]]; then
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi
|
||||||
|
tox -ecover</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$JOB_NAME/$BUILD_ID</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$JOB_NAME/$BUILD_ID/cover</filePath>
|
||||||
|
<sourceFile>compass-core/cover/**</sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
</entries>
|
||||||
|
</be.certipost.hudson.plugin.SCPRepositoryPublisher>
|
||||||
|
<hudson.plugins.emailext.ExtendedEmailPublisher plugin="email-ext@2.24.1">
|
||||||
|
<recipientList>dev@syscompass.org</recipientList>
|
||||||
|
<configuredTriggers>
|
||||||
|
<hudson.plugins.emailext.plugins.trigger.SuccessTrigger>
|
||||||
|
<email>
|
||||||
|
<recipientList></recipientList>
|
||||||
|
<subject>$PROJECT_DEFAULT_SUBJECT</subject>
|
||||||
|
<body>$PROJECT_DEFAULT_CONTENT</body>
|
||||||
|
<sendToDevelopers>false</sendToDevelopers>
|
||||||
|
<sendToRequester>false</sendToRequester>
|
||||||
|
<includeCulprits>false</includeCulprits>
|
||||||
|
<sendToRecipientList>true</sendToRecipientList>
|
||||||
|
</email>
|
||||||
|
</hudson.plugins.emailext.plugins.trigger.SuccessTrigger>
|
||||||
|
</configuredTriggers>
|
||||||
|
<contentType>default</contentType>
|
||||||
|
<defaultSubject>$DEFAULT_SUBJECT</defaultSubject>
|
||||||
|
<defaultContent>$DEFAULT_CONTENT
|
||||||
|
Coverage Reports:
|
||||||
|
http://12.234.32.44/logs/$PROJECT_NAME/$BUILD_ID/cover</defaultContent>
|
||||||
|
<attachmentsPattern></attachmentsPattern>
|
||||||
|
<presendScript></presendScript>
|
||||||
|
</hudson.plugins.emailext.ExtendedEmailPublisher>
|
||||||
|
</publishers>
|
||||||
|
<buildWrappers>
|
||||||
|
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.3.2"/>
|
||||||
|
</buildWrappers>
|
||||||
|
</project>
|
79
project-config/jenkins/jobs/compass-core-pep8/config.xml
Normal file
79
project-config/jenkins/jobs/compass-core-pep8/config.xml
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>15</daysToKeep>
|
||||||
|
<numToKeep>10</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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>master</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>precise</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi
|
||||||
|
tox -epep8</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</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>
|
79
project-config/jenkins/jobs/compass-core-py26/config.xml
Normal file
79
project-config/jenkins/jobs/compass-core-py26/config.xml
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>15</daysToKeep>
|
||||||
|
<numToKeep>10</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>true</enabled>
|
||||||
|
</org.jenkinsci.plugins.ZMQEventPublisher.HudsonNotificationProperty>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>master</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>precise26</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi
|
||||||
|
tox -epy26</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</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>
|
79
project-config/jenkins/jobs/compass-core-py27/config.xml
Normal file
79
project-config/jenkins/jobs/compass-core-py27/config.xml
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>15</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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>master</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>precise</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi
|
||||||
|
tox -epy27</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</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>
|
105
project-config/jenkins/jobs/compass-demo/config.xml
Normal file
105
project-config/jenkins/jobs/compass-demo/config.xml
Normal file
@ -0,0 +1,105 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>30</daysToKeep>
|
||||||
|
<numToKeep>10</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>true</enabled>
|
||||||
|
</org.jenkinsci.plugins.ZMQEventPublisher.HudsonNotificationProperty>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>master</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
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>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/compass.log</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>
|
113
project-config/jenkins/jobs/compass-dev-demo-7vm/config.xml
Normal file
113
project-config/jenkins/jobs/compass-dev-demo-7vm/config.xml
Normal file
@ -0,0 +1,113 @@
|
|||||||
|
<?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>compass-devdemo</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
|
||||||
|
export GERRIT_REFSPEC=refs/changes/51/112751/6
|
||||||
|
export GERRIT_BRANCH=master
|
||||||
|
export GERRIT_HOST=review.openstack.org
|
||||||
|
if [[ ! -e compass-core ]]; then
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core
|
||||||
|
else
|
||||||
|
cd compass-core
|
||||||
|
git remote set-url origin https://git.openstack.org/stackforge/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
|
||||||
|
cd ..
|
||||||
|
fi
|
||||||
|
cd compass-core
|
||||||
|
if [[ ! -z $ZUUL_REF || ! -z $GERRIT_REFSPEC ]]; then
|
||||||
|
if [[ ! -z $ZUUL_REF ]]; then
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
elif [[ ! -z $GERRIT_REFSPEC ]]; then
|
||||||
|
git_repo=https://$GERRIT_HOST/stackforge/compass-core
|
||||||
|
git_ref=$GERRIT_REFSPEC
|
||||||
|
git_branch=$GERRIT_BRANCH
|
||||||
|
fi
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref && git checkout FETCH_HEAD
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "failed to git fetch $git_repo $git_ref or no ref for this project"
|
||||||
|
fi
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>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/regtest3.conf
|
||||||
|
export NO_TEAR_DOWN=true
|
||||||
|
/bin/bash compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>ci_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/compass.log</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>
|
107
project-config/jenkins/jobs/compass-dev-demo-compass/config.xml
Normal file
107
project-config/jenkins/jobs/compass-dev-demo-compass/config.xml
Normal file
@ -0,0 +1,107 @@
|
|||||||
|
<?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-demo</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 https://git.openstack.org/stackforge/compass-core
|
||||||
|
else
|
||||||
|
cd compass-core
|
||||||
|
git remote set-url origin https://git.openstack.org/stackforge/compass-core
|
||||||
|
git remote update
|
||||||
|
git reset --hard
|
||||||
|
git clean -x -f -d -q
|
||||||
|
git checkout master
|
||||||
|
git reset --hard remotes/origin/dev/experimental
|
||||||
|
git clean -x -f -d -q
|
||||||
|
cd ..
|
||||||
|
fi
|
||||||
|
cd compass-core
|
||||||
|
if [[ ! -z $ZUUL_REF || ! -z $GERRIT_REFSPEC ]]; then
|
||||||
|
if [[ ! -z $ZUUL_REF ]]; then
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
elif [[ ! -z $GERRIT_REFSPEC ]]; then
|
||||||
|
git_repo=https://$GERRIT_HOST/stackforge/compass-core
|
||||||
|
git_ref=$GERRIT_REFSPEC
|
||||||
|
git_branch=$GERRIT_BRANCH
|
||||||
|
fi
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref && git checkout FETCH_HEAD
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "failed to git fetch $git_repo $git_ref or no ref for this project"
|
||||||
|
fi
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>export GERRIT_BRANCH=master
|
||||||
|
export GERRIT_HOST=review.openstack.org
|
||||||
|
export GERRIT_REFSPEC=refs/changes/45/113045/2
|
||||||
|
cp compass-core/misc/ci/*.sh .
|
||||||
|
export tempest=true
|
||||||
|
./test-install.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>ci_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/compass.log</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>
|
105
project-config/jenkins/jobs/compass-dev-demo/config.xml
Normal file
105
project-config/jenkins/jobs/compass-dev-demo/config.xml
Normal file
@ -0,0 +1,105 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>30</daysToKeep>
|
||||||
|
<numToKeep>10</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>true</enabled>
|
||||||
|
</org.jenkinsci.plugins.ZMQEventPublisher.HudsonNotificationProperty>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>dev/experimental</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
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>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/compass.log</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>
|
136
project-config/jenkins/jobs/compass-install-e2e-aio/config.xml
Normal file
136
project-config/jenkins/jobs/compass-install-e2e-aio/config.xml
Normal file
@ -0,0 +1,136 @@
|
|||||||
|
<?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/stackforge/compass-core
|
||||||
|
cd compass-core
|
||||||
|
if [[ ! -z $GERRIT_REFSPEC ]]; then
|
||||||
|
git fetch https://review.openstack.org/stackforge/compass-core $GERRIT_REFSPEC && git cherry-pick FETCH_HEAD
|
||||||
|
cd ..
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
cd compass-core
|
||||||
|
git remote set-url origin https://review.openstack.org/stackforge/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/stackforge/compass-core $GERRIT_REFSPEC && 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>
|
121
project-config/jenkins/jobs/compass-install-e2e-mini/config.xml
Normal file
121
project-config/jenkins/jobs/compass-install-e2e-mini/config.xml
Normal file
@ -0,0 +1,121 @@
|
|||||||
|
<?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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>OFFLINE_NODE_WHEN_COMPLETE</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>1</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</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 https://git.openstack.org/stackforge/compass-core
|
||||||
|
else
|
||||||
|
cd compass-core
|
||||||
|
git remote set-url origin https://git.openstack.org/stackforge/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
|
||||||
|
cd ..
|
||||||
|
fi
|
||||||
|
cd compass-core
|
||||||
|
if [[ ! -z $ZUUL_REF || ! -z $GERRIT_REFSPEC ]]; then
|
||||||
|
if [[ ! -z $ZUUL_REF ]]; then
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
elif [[ ! -z $GERRIT_REFSPEC ]]; then
|
||||||
|
git_repo=https://$GERRIT_HOST/stackforge/compass-core
|
||||||
|
git_ref=$GERRIT_REFSPEC
|
||||||
|
git_branch=$GERRIT_BRANCH
|
||||||
|
fi
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref && git checkout FETCH_HEAD
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "failed to git fetch $git_repo $git_ref or no ref for this project"
|
||||||
|
fi
|
||||||
|
git clean -x -f
|
||||||
|
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
|
||||||
|
export USE_POLL_SWITCHES=false
|
||||||
|
source compass-core/regtest/regtest_dashboard.conf
|
||||||
|
export DEPLOYMENT_TIMEOUT=120
|
||||||
|
/bin/bash compass-core/regtest/regtest.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>ci_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</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>$LOG_PATH</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>
|
@ -0,0 +1,66 @@
|
|||||||
|
<?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>true</enabled>
|
||||||
|
</org.jenkinsci.plugins.ZMQEventPublisher.HudsonNotificationProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>precise</assignedNode>
|
||||||
|
<canRoam>false</canRoam>
|
||||||
|
<disabled>false</disabled>
|
||||||
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||||
|
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||||
|
<triggers/>
|
||||||
|
<concurrentBuild>true</concurrentBuild>
|
||||||
|
<builders>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>/home/jenkins/script/gerrit-git-prep.sh https://review.openstack.org git://git.openstack.org</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>/home/jenkins/script/run-docs.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>mkdir `dirname $ZUUL_PROJECT`
|
||||||
|
mv doc/build/html $ZUUL_PROJECT</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
</entries>
|
||||||
|
</be.certipost.hudson.plugin.SCPRepositoryPublisher>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>specs</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>specs/</filePath>
|
||||||
|
<sourceFile>$ZUUL_PROJECT/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>false</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>
|
@ -0,0 +1,137 @@
|
|||||||
|
<?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>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>master</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>compass-trusty-bare</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
|
||||||
|
rm -rf compass-core
|
||||||
|
fi
|
||||||
|
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
|
||||||
|
cd compass-core
|
||||||
|
if [[ -z $ZUUL_PROJECT ]]; then
|
||||||
|
echo "ZUUL_PROJECT is not set"
|
||||||
|
elif [[ -z $ZUUL_BRANCH ]]; then
|
||||||
|
echo "ZUUL_BRANCH is not set"
|
||||||
|
elif [[ -z $ZUUL_REF ]]; then
|
||||||
|
echo "ZUUL_REF is not set"
|
||||||
|
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
|
||||||
|
echo "$ZUUL_PROJECT is not stackforge/compass-core"
|
||||||
|
else
|
||||||
|
git_repo=$ZUUL_URL/stackforge/compass-core
|
||||||
|
git_ref=$ZUUL_REF
|
||||||
|
git_branch=$ZUUL_BRANCH
|
||||||
|
git reset --hard remotes/origin/$git_branch
|
||||||
|
git fetch $git_repo $git_ref
|
||||||
|
git merge FETCH_HEAD
|
||||||
|
git clean -x -f
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
brctl show |grep installation > /dev/null
|
||||||
|
if [[ $? -eq 0 ]] ; then
|
||||||
|
echo "bridge already exists"
|
||||||
|
else
|
||||||
|
brctl addbr installation
|
||||||
|
brctl addif installation eth1
|
||||||
|
fi
|
||||||
|
|
||||||
|
ifconfig installation 172.16.0.1 broadcast 172.16.0.0 netmask 255.255.0.0 up
|
||||||
|
ifconfig eth1 up
|
||||||
|
|
||||||
|
# kill the dhcp service started by libvirt to avoid conflict with dhcpd
|
||||||
|
</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -x
|
||||||
|
source compass-core/install/install.conf.template
|
||||||
|
export tempest=true
|
||||||
|
export tempest_network=true
|
||||||
|
#export tempest_full=true
|
||||||
|
export REGTEST_CONF=allinone.conf
|
||||||
|
./compass-core/regtest/ansible/ci/deploy.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>local_log_server</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>cobbler_logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/compass.log</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>compass_logs/*.py</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>$LOG_PATH</filePath>
|
||||||
|
<sourceFile>chef_logs/**</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.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.14">
|
||||||
|
<strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
|
||||||
|
<timeoutMinutes>180</timeoutMinutes>
|
||||||
|
</strategy>
|
||||||
|
<operationList/>
|
||||||
|
</hudson.plugins.build__timeout.BuildTimeoutWrapper>
|
||||||
|
<hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.3.2"/>
|
||||||
|
</buildWrappers>
|
||||||
|
</project>
|
@ -0,0 +1,28 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<keepDependencies>false</keepDependencies>
|
||||||
|
<properties/>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>master</assignedNode>
|
||||||
|
<canRoam>false</canRoam>
|
||||||
|
<disabled>false</disabled>
|
||||||
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||||
|
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||||
|
<triggers/>
|
||||||
|
<concurrentBuild>false</concurrentBuild>
|
||||||
|
<builders>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -xe
|
||||||
|
export WORKSPACE=/home/jenkins/workspace
|
||||||
|
export DEVSTACK_GATE_PREFIX=wip-
|
||||||
|
set +e
|
||||||
|
/home/jenkins/workspace/devstack-gate/devstack-vm-inprogress.py $DEVSTACK_NODE_NAME
|
||||||
|
set -e
|
||||||
|
/home/jenkins/workspace/devstack-gate/devstack-vm-delete.py $DEVSTACK_NODE_NAME</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers/>
|
||||||
|
<buildWrappers/>
|
||||||
|
</project>
|
@ -0,0 +1,26 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<keepDependencies>false</keepDependencies>
|
||||||
|
<properties/>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>master</assignedNode>
|
||||||
|
<canRoam>false</canRoam>
|
||||||
|
<disabled>false</disabled>
|
||||||
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||||
|
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||||
|
<triggers/>
|
||||||
|
<concurrentBuild>false</concurrentBuild>
|
||||||
|
<builders>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -xe
|
||||||
|
su jenkins
|
||||||
|
export WORKSPACE=/home/jenkins/workspace
|
||||||
|
export DEVSTACK_GATE_PREFIX=wip-
|
||||||
|
/home/jenkins/workspace/devstack-gate/devstack-vm-inprogress.py $DEVSTACK_NODE_NAME</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers/>
|
||||||
|
<buildWrappers/>
|
||||||
|
</project>
|
140
project-config/jenkins/jobs/gate-nova-python27/config.xml
Normal file
140
project-config/jenkins/jobs/gate-nova-python27/config.xml
Normal file
@ -0,0 +1,140 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>1</daysToKeep>
|
||||||
|
<numToKeep>-1</numToKeep>
|
||||||
|
<artifactDaysToKeep>-1</artifactDaysToKeep>
|
||||||
|
<artifactNumToKeep>-1</artifactNumToKeep>
|
||||||
|
</logRotator>
|
||||||
|
<keepDependencies>false</keepDependencies>
|
||||||
|
<properties>
|
||||||
|
<com.tikal.hudson.plugins.notification.HudsonNotificationProperty plugin="notification@1.4">
|
||||||
|
<endpoints>
|
||||||
|
<com.tikal.hudson.plugins.notification.Endpoint>
|
||||||
|
<protocol>HTTP</protocol>
|
||||||
|
<url>http://127.0.0.1:8001/jenkins_endpoint</url>
|
||||||
|
</com.tikal.hudson.plugins.notification.Endpoint>
|
||||||
|
</endpoints>
|
||||||
|
</com.tikal.hudson.plugins.notification.HudsonNotificationProperty>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>NODE_LABEL</name>
|
||||||
|
<description>Label of node to use for this build</description>
|
||||||
|
<defaultValue>devstack-precise</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_UUID</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_REF</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_COMMIT</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_PROJECT</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_PIPELINE</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_CHANGE</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_CHANGE_IDS</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_PATCHSET</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_OLDREV</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_NEWREV</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_SHORT_OLDREV</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_SHORT_NEWREV</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>devstack-precise</assignedNode>
|
||||||
|
<canRoam>false</canRoam>
|
||||||
|
<disabled>false</disabled>
|
||||||
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||||
|
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||||
|
<triggers/>
|
||||||
|
<concurrentBuild>false</concurrentBuild>
|
||||||
|
<builders>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>/usr/local/jenkins/slave_scripts/gerrit-git-prep.sh http://10.145.81.234/openstackci/gerrit http://10.145.81.234/openstackci/gerrit</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>/usr/local/jenkins/slave_scripts/run-tox.sh 27 openstack nova</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash
|
||||||
|
OUT=`git ls-files --other --exclude-standard --directory`
|
||||||
|
if [ -z "$OUT" ]; then
|
||||||
|
echo "No extra files created during test."
|
||||||
|
exit 0
|
||||||
|
else
|
||||||
|
echo "The following un-ignored files were created during the test:"
|
||||||
|
echo "$OUT"
|
||||||
|
exit 0 # TODO: change to 1 to fail tests.
|
||||||
|
fi
|
||||||
|
</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>root@10.145.81.234:/var/log/jenkins</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
</entries>
|
||||||
|
</be.certipost.hudson.plugin.SCPRepositoryPublisher>
|
||||||
|
</publishers>
|
||||||
|
<buildWrappers/>
|
||||||
|
</project>
|
89
project-config/jenkins/jobs/gate-nova-sonar/config.xml
Normal file
89
project-config/jenkins/jobs/gate-nova-sonar/config.xml
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>1</daysToKeep>
|
||||||
|
<numToKeep>-1</numToKeep>
|
||||||
|
<artifactDaysToKeep>-1</artifactDaysToKeep>
|
||||||
|
<artifactNumToKeep>-1</artifactNumToKeep>
|
||||||
|
</logRotator>
|
||||||
|
<keepDependencies>false</keepDependencies>
|
||||||
|
<properties>
|
||||||
|
<com.tikal.hudson.plugins.notification.HudsonNotificationProperty plugin="notification@1.4">
|
||||||
|
<endpoints>
|
||||||
|
<com.tikal.hudson.plugins.notification.Endpoint>
|
||||||
|
<protocol>HTTP</protocol>
|
||||||
|
<url>http://127.0.0.1:8001/jenkins_endpoint</url>
|
||||||
|
</com.tikal.hudson.plugins.notification.Endpoint>
|
||||||
|
</endpoints>
|
||||||
|
</com.tikal.hudson.plugins.notification.HudsonNotificationProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.plugins.git.GitSCM" plugin="git@1.1.21">
|
||||||
|
<configVersion>2</configVersion>
|
||||||
|
<userRemoteConfigs>
|
||||||
|
<hudson.plugins.git.UserRemoteConfig>
|
||||||
|
<name></name>
|
||||||
|
<refspec></refspec>
|
||||||
|
<url>ssh://admin@10.145.81.234:29418/nova</url>
|
||||||
|
</hudson.plugins.git.UserRemoteConfig>
|
||||||
|
</userRemoteConfigs>
|
||||||
|
<branches>
|
||||||
|
<hudson.plugins.git.BranchSpec>
|
||||||
|
<name>master</name>
|
||||||
|
</hudson.plugins.git.BranchSpec>
|
||||||
|
</branches>
|
||||||
|
<disableSubmodules>false</disableSubmodules>
|
||||||
|
<recursiveSubmodules>false</recursiveSubmodules>
|
||||||
|
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
||||||
|
<authorOrCommitter>false</authorOrCommitter>
|
||||||
|
<clean>false</clean>
|
||||||
|
<wipeOutWorkspace>false</wipeOutWorkspace>
|
||||||
|
<pruneBranches>false</pruneBranches>
|
||||||
|
<remotePoll>false</remotePoll>
|
||||||
|
<ignoreNotifyCommit>false</ignoreNotifyCommit>
|
||||||
|
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
||||||
|
<gitTool>Default</gitTool>
|
||||||
|
<submoduleCfg class="list"/>
|
||||||
|
<relativeTargetDir></relativeTargetDir>
|
||||||
|
<reference></reference>
|
||||||
|
<excludedRegions></excludedRegions>
|
||||||
|
<excludedUsers></excludedUsers>
|
||||||
|
<gitConfigName></gitConfigName>
|
||||||
|
<gitConfigEmail></gitConfigEmail>
|
||||||
|
<skipTag>false</skipTag>
|
||||||
|
<includedRegions></includedRegions>
|
||||||
|
<scmName></scmName>
|
||||||
|
</scm>
|
||||||
|
<assignedNode>master</assignedNode>
|
||||||
|
<canRoam>false</canRoam>
|
||||||
|
<disabled>false</disabled>
|
||||||
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||||
|
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||||
|
<jdk>(Inherit From Job)</jdk>
|
||||||
|
<triggers/>
|
||||||
|
<concurrentBuild>false</concurrentBuild>
|
||||||
|
<builders>
|
||||||
|
<hudson.plugins.sonar.SonarRunnerBuilder plugin="sonar@2.1">
|
||||||
|
<project></project>
|
||||||
|
<properties># Required metadata
|
||||||
|
sonar.projectKey=org.codehaus.sonar:nova
|
||||||
|
sonar.projectName=Python project analyzed with the SonarQube Runner
|
||||||
|
sonar.projectVersion=1.0
|
||||||
|
|
||||||
|
# Comma-separated paths to directories with sources (required)
|
||||||
|
sonar.sources=nova
|
||||||
|
|
||||||
|
# Language
|
||||||
|
sonar.language=py
|
||||||
|
|
||||||
|
# Encoding of the source files
|
||||||
|
sonar.sourceEncoding=UTF-8</properties>
|
||||||
|
<javaOpts></javaOpts>
|
||||||
|
<jdk>(Inherit From Job)</jdk>
|
||||||
|
<task></task>
|
||||||
|
</hudson.plugins.sonar.SonarRunnerBuilder>
|
||||||
|
</builders>
|
||||||
|
<publishers/>
|
||||||
|
<buildWrappers/>
|
||||||
|
</project>
|
@ -0,0 +1,105 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>1</daysToKeep>
|
||||||
|
<numToKeep>-1</numToKeep>
|
||||||
|
<artifactDaysToKeep>-1</artifactDaysToKeep>
|
||||||
|
<artifactNumToKeep>-1</artifactNumToKeep>
|
||||||
|
</logRotator>
|
||||||
|
<keepDependencies>false</keepDependencies>
|
||||||
|
<properties>
|
||||||
|
<com.tikal.hudson.plugins.notification.HudsonNotificationProperty plugin="notification@1.4">
|
||||||
|
<endpoints>
|
||||||
|
<com.tikal.hudson.plugins.notification.Endpoint>
|
||||||
|
<protocol>HTTP</protocol>
|
||||||
|
<url>http://127.0.0.1:8001/jenkins_endpoint</url>
|
||||||
|
</com.tikal.hudson.plugins.notification.Endpoint>
|
||||||
|
</endpoints>
|
||||||
|
</com.tikal.hudson.plugins.notification.HudsonNotificationProperty>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>NODE_LABEL</name>
|
||||||
|
<description>Label of node to use for this build</description>
|
||||||
|
<defaultValue>precise26</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>precise26</assignedNode>
|
||||||
|
<canRoam>false</canRoam>
|
||||||
|
<disabled>false</disabled>
|
||||||
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||||
|
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||||
|
<triggers/>
|
||||||
|
<concurrentBuild>false</concurrentBuild>
|
||||||
|
<builders>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>/usr/local/jenkins/slave_scripts/gerrit-git-prep.sh http://10.145.81.234/openstackci/gerrit http://10.145.81.234/openstackci/gerrit</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>export http_proxy=10.145.81.137:3128
|
||||||
|
export https_proxy=10.145.81.137:3128
|
||||||
|
export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com"
|
||||||
|
/usr/local/jenkins/slave_scripts/run-tox.sh 26 openstack python-novaclient</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash
|
||||||
|
OUT=`git ls-files --other --exclude-standard --directory`
|
||||||
|
if [ -z "$OUT" ]; then
|
||||||
|
echo "No extra files created during test."
|
||||||
|
exit 0
|
||||||
|
else
|
||||||
|
echo "The following un-ignored files were created during the test:"
|
||||||
|
echo "$OUT"
|
||||||
|
exit 0 # TODO: change to 1 to fail tests.
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>root@10.145.81.234:/var/log/jenkins</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER</filePath>
|
||||||
|
<sourceFile>**/*nose_results.html</sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER</filePath>
|
||||||
|
<sourceFile>**/*testr_results.html.gz</sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER</filePath>
|
||||||
|
<sourceFile>.testrepository/tmp*</sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER</filePath>
|
||||||
|
<sourceFile>**/*subunit_log.txt.gz</sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
</entries>
|
||||||
|
</be.certipost.hudson.plugin.SCPRepositoryPublisher>
|
||||||
|
</publishers>
|
||||||
|
<buildWrappers/>
|
||||||
|
</project>
|
@ -0,0 +1,102 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>1</daysToKeep>
|
||||||
|
<numToKeep>-1</numToKeep>
|
||||||
|
<artifactDaysToKeep>-1</artifactDaysToKeep>
|
||||||
|
<artifactNumToKeep>-1</artifactNumToKeep>
|
||||||
|
</logRotator>
|
||||||
|
<keepDependencies>false</keepDependencies>
|
||||||
|
<properties>
|
||||||
|
<com.tikal.hudson.plugins.notification.HudsonNotificationProperty plugin="notification@1.4">
|
||||||
|
<endpoints>
|
||||||
|
<com.tikal.hudson.plugins.notification.Endpoint>
|
||||||
|
<protocol>HTTP</protocol>
|
||||||
|
<url>http://127.0.0.1:8001/jenkins_endpoint</url>
|
||||||
|
</com.tikal.hudson.plugins.notification.Endpoint>
|
||||||
|
</endpoints>
|
||||||
|
</com.tikal.hudson.plugins.notification.HudsonNotificationProperty>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>NODE_LABEL</name>
|
||||||
|
<description>Label of node to use for this build</description>
|
||||||
|
<defaultValue>precise</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>precise</assignedNode>
|
||||||
|
<canRoam>false</canRoam>
|
||||||
|
<disabled>false</disabled>
|
||||||
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||||
|
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||||
|
<triggers/>
|
||||||
|
<concurrentBuild>false</concurrentBuild>
|
||||||
|
<builders>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>/usr/local/jenkins/slave_scripts/gerrit-git-prep.sh http://10.145.81.234/openstackci/gerrit http://10.145.81.234/openstackci/gerrit</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>/usr/local/jenkins/slave_scripts/run-tox.sh 27 openstack python-novaclient</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash
|
||||||
|
OUT=`git ls-files --other --exclude-standard --directory`
|
||||||
|
if [ -z "$OUT" ]; then
|
||||||
|
echo "No extra files created during test."
|
||||||
|
exit 0
|
||||||
|
else
|
||||||
|
echo "The following un-ignored files were created during the test:"
|
||||||
|
echo "$OUT"
|
||||||
|
exit 0 # TODO: change to 1 to fail tests.
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>root@10.145.81.234:/var/log/jenkins</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER</filePath>
|
||||||
|
<sourceFile>**/*nose_results.html</sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER</filePath>
|
||||||
|
<sourceFile>**/*testr_results.html.gz</sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER</filePath>
|
||||||
|
<sourceFile>.testrepository/tmp*</sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER</filePath>
|
||||||
|
<sourceFile>**/*subunit_log.txt.gz</sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
</entries>
|
||||||
|
</be.certipost.hudson.plugin.SCPRepositoryPublisher>
|
||||||
|
</publishers>
|
||||||
|
<buildWrappers/>
|
||||||
|
</project>
|
@ -0,0 +1,113 @@
|
|||||||
|
<?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.2">
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</org.jenkinsci.plugins.ZMQEventPublisher.HudsonNotificationProperty>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>NODE_LABEL</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>wip-devstack-jks</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>devstack-precise</assignedNode>
|
||||||
|
<canRoam>false</canRoam>
|
||||||
|
<disabled>false</disabled>
|
||||||
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||||
|
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||||
|
<triggers/>
|
||||||
|
<concurrentBuild>false</concurrentBuild>
|
||||||
|
<builders>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command># Change timezone to UTC to be generalized with elasticsearch
|
||||||
|
sudo ln -sf /usr/share/zoneinfo/UTC /etc/localtime
|
||||||
|
# add fixed ip mappings to avoid dns timeouts and point package downloads to local mirror
|
||||||
|
sudo sh -c "sed 's/91.189.91.14/10.145.81.232/' /etc/hosts > /etc/hosts.new"
|
||||||
|
sudo sh -c "sed 's/91.189.92.200/10.145.81.93/' /etc/hosts.new > /etc/hosts.newb"
|
||||||
|
sudo mv /etc/hosts.newb /etc/hosts
|
||||||
|
sudo sh -c "echo '199.27.77.185 pypi.python.org' >> /etc/hosts"
|
||||||
|
# cirros image source sometimes turns flaky, so use the local mirror
|
||||||
|
sudo sh -c "echo '10.145.81.236 download.cirros-cloud.net' >> /etc/hosts"</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -xe
|
||||||
|
if [[ ! -e devstack-gate ]]; then
|
||||||
|
git clone http://10.145.81.234/openstackci/gerrit/p/devstack-gate
|
||||||
|
else
|
||||||
|
cd devstack-gate
|
||||||
|
git remote set-url origin http://10.145.81.234/openstackci/gerrit/p/devstack-gate
|
||||||
|
git remote update
|
||||||
|
git reset --hard
|
||||||
|
git clean -x -f
|
||||||
|
git checkout master
|
||||||
|
git reset --hard remotes/origin/master
|
||||||
|
git clean -x -f
|
||||||
|
cd ..
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -xe
|
||||||
|
export PYTHONUNBUFFERED=true
|
||||||
|
export DEVSTACK_GATE_TEMPEST=1
|
||||||
|
export DEVSTACK_GATE_TEMPEST_FULL=1
|
||||||
|
export BRANCH_OVERRIDE=default
|
||||||
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
||||||
|
export ZUUL_BRANCH=$BRANCH_OVERRIDE
|
||||||
|
fi
|
||||||
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
||||||
|
./safe-devstack-vm-gate-wrap.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>root@10.145.81.234:/var/log/jenkins</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>logs/$LOG_PATH</filePath>
|
||||||
|
<sourceFile>logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>logs/$LOG_PATH</filePath>
|
||||||
|
<sourceFile>**/testr_results.html.gz</sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>logs/$LOG_PATH</filePath>
|
||||||
|
<sourceFile>**/subunit_log.txt.gz</sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>logs/$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</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>
|
@ -0,0 +1,112 @@
|
|||||||
|
<?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.2">
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</org.jenkinsci.plugins.ZMQEventPublisher.HudsonNotificationProperty>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>NODE_LABEL</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>wip-devstack-jks</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>devstack-precise</assignedNode>
|
||||||
|
<canRoam>false</canRoam>
|
||||||
|
<disabled>false</disabled>
|
||||||
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||||
|
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||||
|
<triggers/>
|
||||||
|
<concurrentBuild>false</concurrentBuild>
|
||||||
|
<builders>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>sudo ln -sf /usr/share/zoneinfo/UTC /etc/localtime
|
||||||
|
sudo sh -c "sed 's/91.189.91.14/10.145.81.232/' /etc/hosts > /etc/hosts.new"
|
||||||
|
sudo sh -c "sed 's/91.189.92.200/10.145.81.93/' /etc/hosts.new > /etc/hosts.newb"
|
||||||
|
sudo mv /etc/hosts.newb /etc/hosts
|
||||||
|
sudo sh -c "echo '199.27.77.185 pypi.python.org' >> /etc/hosts"
|
||||||
|
sudo sh -c "echo '10.145.81.236 download.cirros-cloud.net' >> /etc/hosts"</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -xe
|
||||||
|
if [[ ! -e devstack-gate ]]; then
|
||||||
|
git clone http://10.145.81.234/openstackci/gerrit/p/devstack-gate
|
||||||
|
else
|
||||||
|
cd devstack-gate
|
||||||
|
git remote set-url origin http://10.145.81.234/openstackci/gerrit/p/devstack-gate
|
||||||
|
git remote update
|
||||||
|
git reset --hard
|
||||||
|
git clean -x -f
|
||||||
|
git checkout master
|
||||||
|
git reset --hard remotes/origin/master
|
||||||
|
git clean -x -f
|
||||||
|
cd ..
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -xe
|
||||||
|
export PYTHONUNBUFFERED=true
|
||||||
|
export DEVSTACK_GATE_TIMEOUT=120
|
||||||
|
export DEVSTACK_GATE_TEMPEST=1
|
||||||
|
export DEVSTACK_GATE_NEUTRON=1
|
||||||
|
export DEVSTACK_GATE_SMOKE_SERIAL=1
|
||||||
|
export BRANCH_OVERRIDE=default
|
||||||
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
||||||
|
export ZUUL_BRANCH=$BRANCH_OVERRIDE
|
||||||
|
fi
|
||||||
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
||||||
|
./safe-devstack-vm-gate-wrap.sh</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>root@10.145.81.234:/var/log/jenkins</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>logs/$LOG_PATH</filePath>
|
||||||
|
<sourceFile>logs/**</sourceFile>
|
||||||
|
<keepHierarchy>true</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>logs/$LOG_PATH</filePath>
|
||||||
|
<sourceFile>**/testr_results.html.gz</sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>logs/$LOG_PATH</filePath>
|
||||||
|
<sourceFile>**/subunit_log.txt.gz</sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>logs/$LOG_PATH</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</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>
|
130
project-config/jenkins/jobs/nova-coverage/config.xml
Normal file
130
project-config/jenkins/jobs/nova-coverage/config.xml
Normal file
@ -0,0 +1,130 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>1</daysToKeep>
|
||||||
|
<numToKeep>-1</numToKeep>
|
||||||
|
<artifactDaysToKeep>-1</artifactDaysToKeep>
|
||||||
|
<artifactNumToKeep>-1</artifactNumToKeep>
|
||||||
|
</logRotator>
|
||||||
|
<keepDependencies>false</keepDependencies>
|
||||||
|
<properties>
|
||||||
|
<com.tikal.hudson.plugins.notification.HudsonNotificationProperty plugin="notification@1.4">
|
||||||
|
<endpoints>
|
||||||
|
<com.tikal.hudson.plugins.notification.Endpoint>
|
||||||
|
<protocol>HTTP</protocol>
|
||||||
|
<url>http://127.0.0.1:8001/jenkins_endpoint</url>
|
||||||
|
</com.tikal.hudson.plugins.notification.Endpoint>
|
||||||
|
</endpoints>
|
||||||
|
</com.tikal.hudson.plugins.notification.HudsonNotificationProperty>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>NODE_LABEL</name>
|
||||||
|
<description>Label of node to use for this build</description>
|
||||||
|
<defaultValue>precise</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_UUID</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_REF</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_COMMIT</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_PROJECT</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_PIPELINE</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_CHANGE</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_CHANGE_IDS</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_PATCHSET</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_OLDREV</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_NEWREV</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_SHORT_OLDREV</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_SHORT_NEWREV</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>precise</assignedNode>
|
||||||
|
<canRoam>false</canRoam>
|
||||||
|
<disabled>false</disabled>
|
||||||
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||||
|
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||||
|
<triggers/>
|
||||||
|
<concurrentBuild>false</concurrentBuild>
|
||||||
|
<builders>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>/usr/local/jenkins/slave_scripts/gerrit-git-prep.sh http://10.145.81.234/openstackci/gerrit http://10.145.81.234/openstackci/gerrit</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>export http_proxy=10.145.81.137:3128
|
||||||
|
export https_proxy=10.145.81.137:3128
|
||||||
|
export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com"
|
||||||
|
/usr/local/jenkins/slave_scripts/run-cover.sh openstack nova</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>root@10.145.81.234:/var/log/jenkins</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
</entries>
|
||||||
|
</be.certipost.hudson.plugin.SCPRepositoryPublisher>
|
||||||
|
</publishers>
|
||||||
|
<buildWrappers/>
|
||||||
|
</project>
|
@ -0,0 +1,89 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>1</daysToKeep>
|
||||||
|
<numToKeep>-1</numToKeep>
|
||||||
|
<artifactDaysToKeep>-1</artifactDaysToKeep>
|
||||||
|
<artifactNumToKeep>-1</artifactNumToKeep>
|
||||||
|
</logRotator>
|
||||||
|
<keepDependencies>false</keepDependencies>
|
||||||
|
<properties/>
|
||||||
|
<scm class="hudson.plugins.git.GitSCM" plugin="git@1.1.21">
|
||||||
|
<configVersion>2</configVersion>
|
||||||
|
<userRemoteConfigs>
|
||||||
|
<hudson.plugins.git.UserRemoteConfig>
|
||||||
|
<name></name>
|
||||||
|
<refspec></refspec>
|
||||||
|
<url>http://10.145.81.234/openstackci/gerrit/p/nova</url>
|
||||||
|
</hudson.plugins.git.UserRemoteConfig>
|
||||||
|
</userRemoteConfigs>
|
||||||
|
<branches>
|
||||||
|
<hudson.plugins.git.BranchSpec>
|
||||||
|
<name>stable/grizzly</name>
|
||||||
|
</hudson.plugins.git.BranchSpec>
|
||||||
|
</branches>
|
||||||
|
<disableSubmodules>false</disableSubmodules>
|
||||||
|
<recursiveSubmodules>false</recursiveSubmodules>
|
||||||
|
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
||||||
|
<authorOrCommitter>false</authorOrCommitter>
|
||||||
|
<clean>false</clean>
|
||||||
|
<wipeOutWorkspace>false</wipeOutWorkspace>
|
||||||
|
<pruneBranches>false</pruneBranches>
|
||||||
|
<remotePoll>false</remotePoll>
|
||||||
|
<ignoreNotifyCommit>false</ignoreNotifyCommit>
|
||||||
|
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
||||||
|
<gitTool>Default</gitTool>
|
||||||
|
<submoduleCfg class="list"/>
|
||||||
|
<relativeTargetDir></relativeTargetDir>
|
||||||
|
<reference></reference>
|
||||||
|
<excludedRegions></excludedRegions>
|
||||||
|
<excludedUsers></excludedUsers>
|
||||||
|
<gitConfigName></gitConfigName>
|
||||||
|
<gitConfigEmail></gitConfigEmail>
|
||||||
|
<skipTag>false</skipTag>
|
||||||
|
<includedRegions></includedRegions>
|
||||||
|
<scmName></scmName>
|
||||||
|
</scm>
|
||||||
|
<assignedNode>precise26</assignedNode>
|
||||||
|
<canRoam>false</canRoam>
|
||||||
|
<disabled>false</disabled>
|
||||||
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||||
|
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||||
|
<triggers/>
|
||||||
|
<concurrentBuild>false</concurrentBuild>
|
||||||
|
<builders>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com"
|
||||||
|
/usr/local/jenkins/slave_scripts/run-tox.sh 26 openstack nova</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>root@10.145.81.234:/var/log/jenkins</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER</filePath>
|
||||||
|
<sourceFile>**/*nose_results.html</sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>false</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
</entries>
|
||||||
|
</be.certipost.hudson.plugin.SCPRepositoryPublisher>
|
||||||
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher plugin="scp@1.9-SNAPSHOT">
|
||||||
|
<siteName>root@10.145.81.234:/var/log/jenkins</siteName>
|
||||||
|
<entries>
|
||||||
|
<be.certipost.hudson.plugin.Entry>
|
||||||
|
<filePath>logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER</filePath>
|
||||||
|
<sourceFile></sourceFile>
|
||||||
|
<keepHierarchy>false</keepHierarchy>
|
||||||
|
<copyConsoleLog>true</copyConsoleLog>
|
||||||
|
<copyAfterFailure>true</copyAfterFailure>
|
||||||
|
</be.certipost.hudson.plugin.Entry>
|
||||||
|
</entries>
|
||||||
|
</be.certipost.hudson.plugin.SCPRepositoryPublisher>
|
||||||
|
</publishers>
|
||||||
|
<buildWrappers/>
|
||||||
|
</project>
|
124
project-config/jenkins/jobs/submit-test-to-gerrit/config.xml
Normal file
124
project-config/jenkins/jobs/submit-test-to-gerrit/config.xml
Normal file
@ -0,0 +1,124 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<logRotator class="hudson.tasks.LogRotator">
|
||||||
|
<daysToKeep>1</daysToKeep>
|
||||||
|
<numToKeep>-1</numToKeep>
|
||||||
|
<artifactDaysToKeep>-1</artifactDaysToKeep>
|
||||||
|
<artifactNumToKeep>-1</artifactNumToKeep>
|
||||||
|
</logRotator>
|
||||||
|
<keepDependencies>false</keepDependencies>
|
||||||
|
<properties>
|
||||||
|
<com.tikal.hudson.plugins.notification.HudsonNotificationProperty plugin="notification@1.4">
|
||||||
|
<endpoints>
|
||||||
|
<com.tikal.hudson.plugins.notification.Endpoint>
|
||||||
|
<protocol>HTTP</protocol>
|
||||||
|
<url>http://127.0.0.1:8001/jenkins_endpoint</url>
|
||||||
|
</com.tikal.hudson.plugins.notification.Endpoint>
|
||||||
|
</endpoints>
|
||||||
|
</com.tikal.hudson.plugins.notification.HudsonNotificationProperty>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>NODE_LABEL</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue>master</defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_UUID</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_REF</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_COMMIT</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_PROJECT</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_PIPELINE</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_CHANGE</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_CHANGE_IDS</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_PATCHSET</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_OLDREV</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_NEWREV</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_SHORT_OLDREV</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_SHORT_NEWREV</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>master</assignedNode>
|
||||||
|
<canRoam>false</canRoam>
|
||||||
|
<disabled>false</disabled>
|
||||||
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||||
|
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||||
|
<triggers/>
|
||||||
|
<concurrentBuild>false</concurrentBuild>
|
||||||
|
<builders>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>#!/bin/bash -xe
|
||||||
|
if [[ ! -e test ]]; then
|
||||||
|
git clone ssh://admin@10.145.81.234:29418/test
|
||||||
|
else
|
||||||
|
rm -r test
|
||||||
|
git clone ssh://admin@10.145.81.234:29418/test
|
||||||
|
cd ..
|
||||||
|
fi</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>cd test
|
||||||
|
scp -p -P 29418 admin@10.145.81.234:hooks/commit-msg .git/hooks/
|
||||||
|
git remote add gerrit ssh://admin@12.234.32.46:29418/test || true
|
||||||
|
git review -y</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers/>
|
||||||
|
<buildWrappers/>
|
||||||
|
</project>
|
153
project-config/jenkins/jobs/test-test1/config.xml
Normal file
153
project-config/jenkins/jobs/test-test1/config.xml
Normal file
@ -0,0 +1,153 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<keepDependencies>false</keepDependencies>
|
||||||
|
<properties>
|
||||||
|
<com.tikal.hudson.plugins.notification.HudsonNotificationProperty plugin="notification@1.4">
|
||||||
|
<endpoints>
|
||||||
|
<com.tikal.hudson.plugins.notification.Endpoint>
|
||||||
|
<protocol>HTTP</protocol>
|
||||||
|
<url>http://127.0.0.1:8001/jenkins_endpoint</url>
|
||||||
|
</com.tikal.hudson.plugins.notification.Endpoint>
|
||||||
|
</endpoints>
|
||||||
|
</com.tikal.hudson.plugins.notification.HudsonNotificationProperty>
|
||||||
|
<hudson.model.ParametersDefinitionProperty>
|
||||||
|
<parameterDefinitions>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_UUID</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_REF</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_COMMIT</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_PROJECT</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_PIPELINE</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_BRANCH</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_CHANGE</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_CHANGE_IDS</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_PATCHSET</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_OLDREV</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_NEWREV</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_SHORT_OLDREV</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
<hudson.model.StringParameterDefinition>
|
||||||
|
<name>ZUUL_SHORT_NEWREV</name>
|
||||||
|
<description></description>
|
||||||
|
<defaultValue></defaultValue>
|
||||||
|
</hudson.model.StringParameterDefinition>
|
||||||
|
</parameterDefinitions>
|
||||||
|
</hudson.model.ParametersDefinitionProperty>
|
||||||
|
</properties>
|
||||||
|
<scm class="hudson.scm.NullSCM"/>
|
||||||
|
<assignedNode>wip-devstack-jks</assignedNode>
|
||||||
|
<canRoam>false</canRoam>
|
||||||
|
<disabled>false</disabled>
|
||||||
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||||
|
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||||
|
<triggers/>
|
||||||
|
<concurrentBuild>false</concurrentBuild>
|
||||||
|
<builders>
|
||||||
|
<hudson.plugins.parameterizedtrigger.TriggerBuilder plugin="parameterized-trigger@2.18">
|
||||||
|
<configs>
|
||||||
|
<hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig>
|
||||||
|
<configs>
|
||||||
|
<hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
|
||||||
|
<properties>DEVSTACK_NODE_NAME=${NODE_NAME}</properties>
|
||||||
|
</hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
|
||||||
|
</configs>
|
||||||
|
<projects>devstack-update-inprogress</projects>
|
||||||
|
<condition>ALWAYS</condition>
|
||||||
|
<triggerWithNoParameters>false</triggerWithNoParameters>
|
||||||
|
<block>
|
||||||
|
<buildStepFailureThreshold>
|
||||||
|
<name>FAILURE</name>
|
||||||
|
<ordinal>2</ordinal>
|
||||||
|
<color>RED</color>
|
||||||
|
<completeBuild>true</completeBuild>
|
||||||
|
</buildStepFailureThreshold>
|
||||||
|
<unstableThreshold>
|
||||||
|
<name>UNSTABLE</name>
|
||||||
|
<ordinal>1</ordinal>
|
||||||
|
<color>YELLOW</color>
|
||||||
|
<completeBuild>true</completeBuild>
|
||||||
|
</unstableThreshold>
|
||||||
|
<failureThreshold>
|
||||||
|
<name>FAILURE</name>
|
||||||
|
<ordinal>2</ordinal>
|
||||||
|
<color>RED</color>
|
||||||
|
<completeBuild>true</completeBuild>
|
||||||
|
</failureThreshold>
|
||||||
|
</block>
|
||||||
|
<buildAllNodesWithLabel>false</buildAllNodesWithLabel>
|
||||||
|
</hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig>
|
||||||
|
</configs>
|
||||||
|
</hudson.plugins.parameterizedtrigger.TriggerBuilder>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>sleep 20</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers>
|
||||||
|
<hudson.plugins.parameterizedtrigger.BuildTrigger plugin="parameterized-trigger@2.18">
|
||||||
|
<configs>
|
||||||
|
<hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
|
||||||
|
<configs>
|
||||||
|
<hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
|
||||||
|
<properties>DEVSTACK_NODE_NAME=${NODE_NAME}
|
||||||
|
UPSTREAM_BUILD_URL=${BUILD_URL}
|
||||||
|
UPSTREAM_JOB_NAME=${JOB_NAME}
|
||||||
|
UPSTREAM_BRANCH=${ZUUL_BRANCH}</properties>
|
||||||
|
</hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
|
||||||
|
</configs>
|
||||||
|
<projects>devstack-update-complete, </projects>
|
||||||
|
<condition>ALWAYS</condition>
|
||||||
|
<triggerWithNoParameters>false</triggerWithNoParameters>
|
||||||
|
</hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
|
||||||
|
</configs>
|
||||||
|
</hudson.plugins.parameterizedtrigger.BuildTrigger>
|
||||||
|
</publishers>
|
||||||
|
<buildWrappers/>
|
||||||
|
</project>
|
26
project-config/jenkins/jobs/test-test2/config.xml
Normal file
26
project-config/jenkins/jobs/test-test2/config.xml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<project>
|
||||||
|
<actions/>
|
||||||
|
<description></description>
|
||||||
|
<keepDependencies>false</keepDependencies>
|
||||||
|
<properties>
|
||||||
|
<org.jenkinsci.plugins.ZMQEventPublisher.HudsonNotificationProperty plugin="zmq-event-publisher@0.0.3">
|
||||||
|
<enabled>true</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>false</concurrentBuild>
|
||||||
|
<builders>
|
||||||
|
<hudson.tasks.Shell>
|
||||||
|
<command>sleep 10</command>
|
||||||
|
</hudson.tasks.Shell>
|
||||||
|
</builders>
|
||||||
|
<publishers/>
|
||||||
|
<buildWrappers/>
|
||||||
|
</project>
|
BIN
project-config/zuul/images/logo.png
Normal file
BIN
project-config/zuul/images/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
120
project-config/zuul/layout.yaml
Normal file
120
project-config/zuul/layout.yaml
Normal file
@ -0,0 +1,120 @@
|
|||||||
|
pipelines:
|
||||||
|
- name: check
|
||||||
|
description: Newly uploaded patchsets enter this pipeline to receive an initial +/-1 Verified vote from Jenkins.
|
||||||
|
success-message: Build succeeded.
|
||||||
|
failure-message: Build failed.
|
||||||
|
manager: IndependentPipelineManager
|
||||||
|
source: gerrit
|
||||||
|
precedence: normal
|
||||||
|
require:
|
||||||
|
open: True
|
||||||
|
current-patchset: True
|
||||||
|
trigger:
|
||||||
|
gerrit:
|
||||||
|
- event: patchset-created
|
||||||
|
- event: change-restored
|
||||||
|
- event: comment-added
|
||||||
|
comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*(recheck compassci)
|
||||||
|
- event: comment-added
|
||||||
|
require-approval:
|
||||||
|
- verified: [-1, -2]
|
||||||
|
- username: compass-ci
|
||||||
|
approval:
|
||||||
|
- workflow: 1
|
||||||
|
success:
|
||||||
|
gerrit:
|
||||||
|
verified: 1
|
||||||
|
failure:
|
||||||
|
gerrit:
|
||||||
|
verified: -1
|
||||||
|
|
||||||
|
- name: tests
|
||||||
|
manager: IndependentPipelineManager
|
||||||
|
trigger:
|
||||||
|
gerrit:
|
||||||
|
- event: patchset-created
|
||||||
|
email_filter: ^.*@example.org$
|
||||||
|
success:
|
||||||
|
gerrit:
|
||||||
|
verified: 1
|
||||||
|
failure:
|
||||||
|
gerrit:
|
||||||
|
verified: -1
|
||||||
|
|
||||||
|
- name: post
|
||||||
|
manager: IndependentPipelineManager
|
||||||
|
trigger:
|
||||||
|
gerrit:
|
||||||
|
- event: ref-updated
|
||||||
|
ref: ^(?!refs/).*$
|
||||||
|
|
||||||
|
- name: gate
|
||||||
|
manager: DependentPipelineManager
|
||||||
|
trigger:
|
||||||
|
gerrit:
|
||||||
|
- event: comment-added
|
||||||
|
approval:
|
||||||
|
- approved: 1
|
||||||
|
start:
|
||||||
|
gerrit:
|
||||||
|
verified: 0
|
||||||
|
success:
|
||||||
|
gerrit:
|
||||||
|
verified: 1
|
||||||
|
failure:
|
||||||
|
gerrit:
|
||||||
|
verified: -1
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
- name: compass-demo
|
||||||
|
branch: master
|
||||||
|
voting: true
|
||||||
|
|
||||||
|
- name: compass-bare-e2e-allin1
|
||||||
|
branch: master
|
||||||
|
voting: false
|
||||||
|
|
||||||
|
- name: compass-bare-e2e-single-controller-allin1
|
||||||
|
branch: master
|
||||||
|
voting: false
|
||||||
|
|
||||||
|
- name: compass-bare-e2e-multinodes-allin1
|
||||||
|
branch: master
|
||||||
|
voting: false
|
||||||
|
|
||||||
|
- name: compass-bare-e2e-single-contoller-multi-compute
|
||||||
|
branch: master
|
||||||
|
voting: false
|
||||||
|
|
||||||
|
- name: compass-bare-e2e-osonly
|
||||||
|
branch: master
|
||||||
|
voting: false
|
||||||
|
|
||||||
|
- name: compass-bare-e2e-allin1-ubuntu
|
||||||
|
branch: master
|
||||||
|
voting: false
|
||||||
|
|
||||||
|
- name: compass-bare-e2e-single-contoller-multi-compute-ubuntu
|
||||||
|
branch: master
|
||||||
|
voting: false
|
||||||
|
|
||||||
|
projects:
|
||||||
|
- name: stackforge/compass-core
|
||||||
|
check:
|
||||||
|
- compass-demo
|
||||||
|
- compass-bare-e2e-allin1
|
||||||
|
- compass-bare-e2e-single-controller-allin1
|
||||||
|
- compass-bare-e2e-single-contoller-multi-compute
|
||||||
|
- compass-bare-e2e-osonly
|
||||||
|
- compass-bare-e2e-allin1-ubuntu
|
||||||
|
- compass-bare-e2e-single-contoller-multi-compute-ubuntu
|
||||||
|
|
||||||
|
- name: stackforge/compass-adapters
|
||||||
|
check:
|
||||||
|
- compass-demo
|
||||||
|
- compass-bare-e2e-allin1
|
||||||
|
- compass-bare-e2e-single-controller-allin1
|
||||||
|
- compass-bare-e2e-single-contoller-multi-compute
|
||||||
|
- compass-bare-e2e-osonly
|
||||||
|
- compass-bare-e2e-allin1-ubuntu
|
||||||
|
- compass-bare-e2e-single-contoller-multi-compute-ubuntu
|
44
project-config/zuul/logging.conf
Normal file
44
project-config/zuul/logging.conf
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
[loggers]
|
||||||
|
keys=root,zuul,gerrit
|
||||||
|
|
||||||
|
[handlers]
|
||||||
|
keys=console,debug,normal
|
||||||
|
|
||||||
|
[formatters]
|
||||||
|
keys=simple
|
||||||
|
|
||||||
|
[logger_root]
|
||||||
|
level=WARNING
|
||||||
|
handlers=console
|
||||||
|
|
||||||
|
[logger_zuul]
|
||||||
|
level=INFO
|
||||||
|
handlers=debug,normal
|
||||||
|
qualname=zuul
|
||||||
|
|
||||||
|
[logger_gerrit]
|
||||||
|
level=DEBUG
|
||||||
|
handlers=debug,normal
|
||||||
|
qualname=gerrit
|
||||||
|
|
||||||
|
[handler_console]
|
||||||
|
level=WARNING
|
||||||
|
class=StreamHandler
|
||||||
|
formatter=simple
|
||||||
|
args=(sys.stdout,)
|
||||||
|
|
||||||
|
[handler_debug]
|
||||||
|
level=DEBUG
|
||||||
|
class=logging.handlers.TimedRotatingFileHandler
|
||||||
|
formatter=simple
|
||||||
|
args=('/var/log/zuul/debug.log', 'midnight', 1, 30,)
|
||||||
|
|
||||||
|
[handler_normal]
|
||||||
|
level=INFO
|
||||||
|
class=logging.handlers.TimedRotatingFileHandler
|
||||||
|
formatter=simple
|
||||||
|
args=('/var/log/zuul/zuul.log', 'midnight', 1, 30,)
|
||||||
|
|
||||||
|
[formatter_simple]
|
||||||
|
format=%(asctime)s %(levelname)s %(name)s: %(message)s
|
||||||
|
datefmt=
|
49
project-config/zuul/merger-logging.conf
Normal file
49
project-config/zuul/merger-logging.conf
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
[loggers]
|
||||||
|
keys=root,zuul,gerrit,gear
|
||||||
|
|
||||||
|
[handlers]
|
||||||
|
keys=console,debug,normal
|
||||||
|
|
||||||
|
[formatters]
|
||||||
|
keys=simple
|
||||||
|
|
||||||
|
[logger_root]
|
||||||
|
level=WARNING
|
||||||
|
handlers=console
|
||||||
|
|
||||||
|
[logger_zuul]
|
||||||
|
level=DEBUG
|
||||||
|
handlers=debug,normal
|
||||||
|
qualname=zuul
|
||||||
|
|
||||||
|
[logger_gerrit]
|
||||||
|
level=INFO
|
||||||
|
handlers=debug,normal
|
||||||
|
qualname=gerrit
|
||||||
|
|
||||||
|
[logger_gear]
|
||||||
|
level=WARNING
|
||||||
|
handlers=debug,normal
|
||||||
|
qualname=gear
|
||||||
|
|
||||||
|
[handler_console]
|
||||||
|
level=WARNING
|
||||||
|
class=StreamHandler
|
||||||
|
formatter=simple
|
||||||
|
args=(sys.stdout,)
|
||||||
|
|
||||||
|
[handler_debug]
|
||||||
|
level=DEBUG
|
||||||
|
class=logging.handlers.WatchedFileHandler
|
||||||
|
formatter=simple
|
||||||
|
args=('/var/log/zuul/merger-debug.log',)
|
||||||
|
|
||||||
|
[handler_normal]
|
||||||
|
level=INFO
|
||||||
|
class=logging.handlers.WatchedFileHandler
|
||||||
|
formatter=simple
|
||||||
|
args=('/var/log/zuul/merger.log',)
|
||||||
|
|
||||||
|
[formatter_simple]
|
||||||
|
format=%(asctime)s %(levelname)s %(name)s: %(message)s
|
||||||
|
datefmt=
|
104
project-config/zuul/www/zuul.app.js
Normal file
104
project-config/zuul/www/zuul.app.js
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
// Client script for Zuul status page
|
||||||
|
//
|
||||||
|
// Copyright 2013 OpenStack Foundation
|
||||||
|
// Copyright 2013 Timo Tijhof
|
||||||
|
// Copyright 2013 Wikimedia Foundation
|
||||||
|
// Copyright 2014 Rackspace Australia
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
// not use this file except in compliance with the License. You may obtain
|
||||||
|
// a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
// License for the specific language governing permissions and limitations
|
||||||
|
// under the License.
|
||||||
|
|
||||||
|
/*exported zuul_build_dom, zuul_start */
|
||||||
|
|
||||||
|
function zuul_build_dom($, container) {
|
||||||
|
// Build a default-looking DOM
|
||||||
|
var default_layout = '<div class="container">'
|
||||||
|
+ '<h1><img src="images/logo.png" width="70px" height="70px" />Compass-CI Status</h1>'
|
||||||
|
+ '<p>Real-time status monitor of Zuul, the pipeline manager between Gerrit and Workers.</p>'
|
||||||
|
+ '<div class="zuul-container" id="zuul-container">'
|
||||||
|
+ '<div style="display: none;" class="alert" id="zuul_msg"></div>'
|
||||||
|
+ '<button class="btn pull-right zuul-spinner">updating <span class="glyphicon glyphicon-refresh"></span></button>'
|
||||||
|
+ '<p>Queue lengths: <span id="zuul_queue_events_num">0</span> events, <span id="zuul_queue_results_num">0</span> results.</p>'
|
||||||
|
+ '<div id="zuul_controls"></div>'
|
||||||
|
+ '<div id="zuul_pipelines" class="row"></div>'
|
||||||
|
+ '<p>Zuul version: <span id="zuul-version-span"></span></p>'
|
||||||
|
+ '<p>Last reconfigured: <span id="last-reconfigured-span"></span></p>'
|
||||||
|
+ '</div></div>';
|
||||||
|
|
||||||
|
$(function ($) {
|
||||||
|
// DOM ready
|
||||||
|
var $container = $(container);
|
||||||
|
$container.html(default_layout);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return The $.zuul instance
|
||||||
|
*/
|
||||||
|
function zuul_start($) {
|
||||||
|
// Start the zuul app (expects default dom)
|
||||||
|
|
||||||
|
var $container, $indicator;
|
||||||
|
var demo = location.search.match(/[?&]demo=([^?&]*)/),
|
||||||
|
source_url = location.search.match(/[?&]source_url=([^?&]*)/),
|
||||||
|
source = demo ? './status-' + (demo[1] || 'basic') + '.json-sample' :
|
||||||
|
'status.json';
|
||||||
|
source = source_url ? source_url[1] : source;
|
||||||
|
|
||||||
|
var zuul = $.zuul({
|
||||||
|
source: source,
|
||||||
|
//graphite_url: 'http://graphite.openstack.org/render/'
|
||||||
|
});
|
||||||
|
|
||||||
|
zuul.jq.on('update-start', function () {
|
||||||
|
$container.addClass('zuul-container-loading');
|
||||||
|
$indicator.addClass('zuul-spinner-on');
|
||||||
|
});
|
||||||
|
|
||||||
|
zuul.jq.on('update-end', function () {
|
||||||
|
$container.removeClass('zuul-container-loading');
|
||||||
|
setTimeout(function () {
|
||||||
|
$indicator.removeClass('zuul-spinner-on');
|
||||||
|
}, 500);
|
||||||
|
});
|
||||||
|
|
||||||
|
zuul.jq.one('update-end', function () {
|
||||||
|
// Do this asynchronous so that if the first update adds a
|
||||||
|
// message, it will not animate while we fade in the content.
|
||||||
|
// Instead it simply appears with the rest of the content.
|
||||||
|
setTimeout(function () {
|
||||||
|
// Fade in the content
|
||||||
|
$container.addClass('zuul-container-ready');
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
$(function ($) {
|
||||||
|
// DOM ready
|
||||||
|
$container = $('#zuul-container');
|
||||||
|
$indicator = $('#zuul-spinner');
|
||||||
|
$('#zuul_controls').append(zuul.app.control_form());
|
||||||
|
|
||||||
|
zuul.app.schedule();
|
||||||
|
|
||||||
|
$(document).on({
|
||||||
|
'show.visibility': function () {
|
||||||
|
zuul.options.enabled = true;
|
||||||
|
zuul.app.update();
|
||||||
|
},
|
||||||
|
'hide.visibility': function () {
|
||||||
|
zuul.options.enabled = false;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
return zuul;
|
||||||
|
}
|
27
project-config/zuul/zuul.conf
Normal file
27
project-config/zuul/zuul.conf
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
[gearman]
|
||||||
|
server=127.0.0.1
|
||||||
|
port=4730
|
||||||
|
|
||||||
|
[gearman_server]
|
||||||
|
start=true
|
||||||
|
|
||||||
|
[gerrit]
|
||||||
|
server=review.openstack.org
|
||||||
|
baseurl=http://review.openstack.org
|
||||||
|
user=compass-ci
|
||||||
|
sshkey=/var/lib/zuul/ssh/compass_ci_ssh_key
|
||||||
|
|
||||||
|
[zuul]
|
||||||
|
layout_config=/etc/zuul/layout.yaml
|
||||||
|
log_config=/etc/zuul/logging.conf
|
||||||
|
pidfile=/var/run/zuul/zuul.pid
|
||||||
|
state_dir=/var/lib/zuul
|
||||||
|
status_url=http://10.145.81.82/status
|
||||||
|
job_name_in_report=true
|
||||||
|
|
||||||
|
[merger]
|
||||||
|
git_dir=/var/lib/zuul/git
|
||||||
|
git_user_email=compasscitest@gmail.com
|
||||||
|
git_user_name=compass-ci
|
||||||
|
zuul_url=http://10.145.81.82/p
|
||||||
|
log_config=/etc/zuul/merger-logging.conf
|
Loading…
Reference in New Issue
Block a user