system-config/modules/jenkins_jobs/templates/publisher_docs.xml.erb
Andrew Hutchings e53a05ac39 Add Jenkins job filler to puppet
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
2012-03-20 15:40:01 +00:00

21 lines
952 B
Plaintext

<be.certipost.hudson.plugin.SCPRepositoryPublisher>
<siteName><%= project %>.<%= site %>.org</siteName>
<entries>
<be.certipost.hudson.plugin.Entry>
<filePath>docs/<%= project %></filePath>
<sourceFile>doc/build/html/**</sourceFile>
<keepHierarchy>false</keepHierarchy>
</be.certipost.hudson.plugin.Entry>
<be.certipost.hudson.plugin.Entry>
<filePath>docs/<%= project %>/_static</filePath>
<sourceFile>doc/build/html/_static/**</sourceFile>
<keepHierarchy>false</keepHierarchy>
</be.certipost.hudson.plugin.Entry>
<be.certipost.hudson.plugin.Entry>
<filePath>docs/<%= project %>/_sources</filePath>
<sourceFile>doc/build/html/_sources/**</sourceFile>
<keepHierarchy>false</keepHierarchy>
</be.certipost.hudson.plugin.Entry>
</entries>
</be.certipost.hudson.plugin.SCPRepositoryPublisher>