system-config/modules/jenkins_jobs/manifests/jobs/python26_gate.pp
Andrew Hutchings 04bf54ac40 Make Jenkins Jobs more modular
Each job has a manifest in the jenkins_jobs/manifests/jobs directory
Jobs are grouped in python_jobs and generic_jobs
The job groups or individual jobs can be added to a site manifest

Also fixes bad XML output, python27 job and bug 987428

Change-Id: I1ebc889cee08b080deb6ba46aee69ab2ae0bb6b6
2012-04-24 15:19:59 +01:00

12 lines
425 B
Puppet

define jenkins_jobs::jobs::python26_gate($site, $project, $node_group, $trigger_branches) {
jenkins_jobs::build_job { "gate-${name}-python26":
site => $site,
project => $project,
job => "python26",
node_group => $node_group,
triggers => trigger("gerrit_comment"),
builders => [builder("gerrit_git_prep"), builder("copy_bundle"), builder("python26")],
trigger_branches => $trigger_branches
}
}