summaryrefslogtreecommitdiffstats
path: root/job-cfg
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-06-14 21:50:09 +0200
committerHolger Levsen <holger@layer-acht.org>2016-06-16 22:33:02 +0200
commitbf3c31e0be7183bacdf3b914c4a56d39c5dce0f3 (patch)
tree67c9fb2effe00bd4f9bd7ad5e5e7f6eeb3d6aec5 /job-cfg
parent7217bdb26c9a3f67bfe17a8890f5fdf397057f18 (diff)
downloadjenkins.debian.net-bf3c31e0be7183bacdf3b914c4a56d39c5dce0f3.tar.xz
d-i: separate out jobs definition to make it easy to tweak
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'job-cfg')
-rwxr-xr-xjob-cfg/d-i.yaml.py25
1 files changed, 14 insertions, 11 deletions
diff --git a/job-cfg/d-i.yaml.py b/job-cfg/d-i.yaml.py
index 06e61aed..6c7df3fe 100755
--- a/job-cfg/d-i.yaml.py
+++ b/job-cfg/d-i.yaml.py
@@ -174,6 +174,18 @@ yaboot-installer
zipl-installer
""".split()
+jobs = [
+ '{name}_maintenance',
+ '{name}_check_jenkins_jobs',
+ {'{name}_manual': {
+ 'trg': 'H/15 * * * *'}},
+ '{name}_manual_html_group',
+ '{name}_manual_pdf_group',
+ '{name}_manual_html_po2xml_group',
+ '{name}_manual_pdf_po2xml_group',
+ '{name}_build-group',
+ '{name}_pu-build-group',
+]
def scm_svn(po, inc_regs=None):
if inc_regs is None:
@@ -456,16 +468,7 @@ data.append(
'<a href="https://anonscm.debian.org/git/qa/'
'jenkins.debian.net.git/tree/job-cfg/d-i.yaml.py">'
'd-i.yaml.py</a>.'),
- 'jobs': [
- '{name}_maintenance',
- '{name}_check_jenkins_jobs',
- {'{name}_manual': {
- 'trg': 'H/15 * * * *'}},
- '{name}_manual_html_group',
- '{name}_manual_pdf_group',
- '{name}_manual_html_po2xml_group',
- '{name}_manual_pdf_po2xml_group',
- '{name}_build-group',
- '{name}_pu-build-group']}})
+ 'jobs': jobs
+ }})
sys.stdout.write(dump(data, Dumper=Dumper))