system-config/modules/jenkins_jobs/templates/builder_ppa.xml.erb
Monty Taylor 17b2bda1a0 Added slave scripts to puppet.
Added all of the files from slave_scripts to jenkins_slave.
Includes the changes I submitted in https://review.openstack.org/6063
Changed the jobs to use these rather than the ones from openstack-ci.

Change-Id: I4bd9e78b3d9c0cbbc6a0b17fc95c60458b06a0f7
2012-04-02 13:52:57 -07:00

23 lines
730 B
Plaintext

<hudson.tasks.Shell>
<command>rm -rf build dist.zip
mkdir build
</command>
</hudson.tasks.Shell>
<hudson.plugins.copyartifact.CopyArtifact>
<projectName><%= project %>-tarball</projectName>
<filter>dist/*.tar.gz</filter>
<target>build</target>
<selector class="hudson.plugins.copyartifact.ParameterizedBuildSelector">
<parameterName>BUILD_SELECTOR</parameterName>
</selector>
</hudson.plugins.copyartifact.CopyArtifact>
<hudson.tasks.Shell>
<command>#!/bin/bash
#export DO_UPLOAD=&quot;no&quot;
export PROJECT=&quot;<%= project %>&quot;
export GERRIT_REFNAME=$BRANCH
/usr/local/jenkins/slave_scripts/create-ppa-package.sh
</command>
</hudson.tasks.Shell>