e53a05ac39
Adds default Openstack jobs for a given project name into Jenkins To envoke add a section as follows to your site manifest: class { "jenkins_jobs": site => "openstack", projects => ["project1", "project2"] } Now using xml building blocks! Change-Id: If4cacba91d3dc22207e53413543e5bcfcfb0b541
31 lines
1.4 KiB
Plaintext
31 lines
1.4 KiB
Plaintext
<hudson.tasks.ArtifactArchiver>
|
|
<artifacts>dist/*.tar.gz</artifacts>
|
|
<latestOnly>false</latestOnly>
|
|
</hudson.tasks.ArtifactArchiver>
|
|
<be.certipost.hudson.plugin.SCPRepositoryPublisher>
|
|
<siteName><%= project %>.<%= site %>.org</siteName>
|
|
<entries>
|
|
<be.certipost.hudson.plugin.Entry>
|
|
<filePath>tarballs/<%= project %>/</filePath>
|
|
<sourceFile>dist/*.tar.gz</sourceFile>
|
|
<keepHierarchy>false</keepHierarchy>
|
|
</be.certipost.hudson.plugin.Entry>
|
|
</entries>
|
|
</be.certipost.hudson.plugin.SCPRepositoryPublisher>
|
|
<hudson.plugins.parameterizedtrigger.BuildTrigger>
|
|
<configs>
|
|
<hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
|
|
<configs>
|
|
<hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
|
|
<properties>BUILD_SELECTOR=<SpecificBuildSelector><buildNumber>$BUILD_NUMBER</buildNumber></SpecificBuildSelector>
|
|
BRANCH=$GERRIT_REFNAME
|
|
</properties>
|
|
</hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
|
|
</configs>
|
|
<projects><%= project %>-ppa</projects>
|
|
<condition>SUCCESS</condition>
|
|
<triggerWithNoParameters>false</triggerWithNoParameters>
|
|
</hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
|
|
</configs>
|
|
</hudson.plugins.parameterizedtrigger.BuildTrigger>
|