system-config/modules/jenkins_jobs/templates/builder_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

11 lines
255 B
Plaintext

<hudson.tasks.Shell>
<command>mkdir -p doc/build
export HUDSON_PUBLISH_DOCS=1
if [ -f .cache.bundle ] ; then
tox -ejenkinsvenv python setup.py build_sphinx
else
tox -evenv python setup.py build_sphinx
fi</command>
</hudson.tasks.Shell>