[Qa-jenkins-scm] [jenkins.debian.net] 01/01: d-i-yaml.py: try using more variables in job specs -- testing with pu jobs

Holger Levsen holger at moszumanska.debian.org
Fri Jun 5 07:55:18 UTC 2015


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 49ab2625d7723aa70f15a8b174d80f0de8e48065
Author: Philip Hands <phil at hands.com>
Date:   Fri Jun 5 08:47:12 2015 +0100

    d-i-yaml.py: try using more variables in job specs -- testing with pu jobs
---
 job-cfg/d-i.yaml.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/job-cfg/d-i.yaml.py b/job-cfg/d-i.yaml.py
index 27b85f8..15b7fa1 100755
--- a/job-cfg/d-i.yaml.py
+++ b/job-cfg/d-i.yaml.py
@@ -287,7 +287,7 @@ def templs_jobs():
             jtmpl(act=act,target=pkg),
             {'_'.join(['{name}',act,pkg]): {'gitrepo': 'git://git.debian.org/git/d-i/' + pkg}}
         )
-        for act in ['build', 'pu-build']
+        for act in ['build']
         for pkg in pkgs]]
     return (templates, jobs)
 
@@ -361,11 +361,16 @@ data.append(
                                       publ_email('debian-boot')]}})
 (templs, jobs) = templs_jobs()
 
+# let's see if we can be rather more efficient with the yaml -- test just the pu stuff
+templs.append(jtmpl(act='pu-build',target='{pkg}'))
+jobs.append({'_'.join(['{name}','pu-build','{pkg}']): {'gitrepo': 'git://git.debian.org/git/d-i/{pkg}'}})
+
 data.extend(templs)
 
 data.append(
     {'project': { 'name': 'd-i',
                   'do_not_edit': '<br><br>Job configuration source is <a href="http://anonscm.debian.org/cgit/qa/jenkins.debian.net.git/tree/job-cfg/d-i.yaml.py">d-i.yaml.py</a>.',
+                  'pkg': pkgs,
                   '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