
- so they don't get lost when servers are down. - also place runtime_code_path.jpg in imgs/ directory Change-Id: I614c51929cb7a624fd8c6720bc8fe17a62a8ab40
124 lines
4.7 KiB
XML
124 lines
4.7 KiB
XML
<?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> |