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
10 lines
236 B
Plaintext
10 lines
236 B
Plaintext
<hudson.tasks.Shell>
|
|
<command>if [ -f .cache.bundle ] ; then
|
|
tox -ejenkinscover
|
|
else
|
|
tox -evenv -- nosetests test/unit --with-xcoverage --cover-erase --cover-package=<%= project %>
|
|
|
|
fi</command>
|
|
</hudson.tasks.Shell>
|
|
|