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
11 lines
156 B
Puppet
11 lines
156 B
Puppet
class jenkins_jobs($site, $projects) {
|
|
|
|
service { "jenkins":
|
|
ensure => running
|
|
}
|
|
|
|
jenkins_jobs::add_jobs { $projects:
|
|
site => "${site}"
|
|
}
|
|
}
|