04bf54ac40
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
31 lines
796 B
Puppet
31 lines
796 B
Puppet
define jenkins_jobs::python_jobs($site, $project, $node_group) {
|
|
jenkins_jobs::jobs::coverage { $name:
|
|
site => $site,
|
|
project => $project,
|
|
node_group => $node_group
|
|
}
|
|
jenkins_jobs::jobs::pep8_gate { $name:
|
|
site => $site,
|
|
project => $project,
|
|
node_group => $node_group,
|
|
trigger_branches => [[$project, '**']]
|
|
}
|
|
jenkins_jobs::jobs::python26_gate { $name:
|
|
site => $site,
|
|
project => $project,
|
|
node_group => $node_group,
|
|
trigger_branches => [[$project, '**']]
|
|
}
|
|
jenkins_jobs::jobs::python27_gate { $name:
|
|
site => $site,
|
|
project => $project,
|
|
node_group => $node_group,
|
|
trigger_branches => [[$project, '**']]
|
|
}
|
|
jenkins_jobs::jobs::venv { $name:
|
|
site => $site,
|
|
project => $project,
|
|
node_group => $node_group
|
|
}
|
|
}
|