[Qa-jenkins-scm] [jenkins.debian.net] 05/11: d-i: separate out jobs definition to make it easy to tweak

Holger Levsen holger at layer-acht.org
Thu Jun 16 20:33:50 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit bf3c31e0be7183bacdf3b914c4a56d39c5dce0f3
Author: Philip Hands <phil at hands.com>
Date:   Tue Jun 14 21:50:09 2016 +0200

    d-i: separate out jobs definition to make it easy to tweak
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 job-cfg/d-i.yaml.py | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/job-cfg/d-i.yaml.py b/job-cfg/d-i.yaml.py
index 06e61ae..6c7df3f 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))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list