[Qa-jenkins-scm] [jenkins.debian.net] 03/03: add jobs for pu/** branches (probably ; -))

Holger Levsen holger at moszumanska.debian.org
Wed Jun 3 08:44:09 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 1bd58348d51adda421776998bf808eceedc6c8a1
Author: Philip Hands <phil at hands.com>
Date:   Wed Jun 3 09:03:23 2015 +0100

    add jobs for pu/** branches (probably ;-))
---
 job-cfg/d-i.yaml.py | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

diff --git a/job-cfg/d-i.yaml.py b/job-cfg/d-i.yaml.py
index d278e29..817d24d 100755
--- a/job-cfg/d-i.yaml.py
+++ b/job-cfg/d-i.yaml.py
@@ -302,7 +302,19 @@ data.append( {'defaults': { 'name': 'd-i-build',
                    'description': 'Builds debian packages in sid from git master branch, triggered by pushes to <pre>{gitrepo}</pre> {do_not_edit}',
                    'triggers': [{'pollscm': '*/6 * * * *'}],
                    'scm': [{'git': {'url': '{gitrepo}',
-                                    'branches': ['master', 'pu/*']}}],
+                                    'branches': ['master']}}],
+                   'builders': [{'shell': '/srv/jenkins/bin/d-i_build.sh'}],
+                   'project-type': 'freestyle',
+                   'properties': prop(middle=sb_pkgs, priority=99),
+                   'logrotate': lr(90),
+                   'publishers': publ()}}
+)
+
+data.append( {'defaults': { 'name': 'd-i-pu-build',
+                   'description': 'Builds debian packages in sid from git pu/ branches, triggered by pushes to <pre>{gitrepo}</pre> {do_not_edit}',
+                   'triggers': [{'pollscm': '*/30 * * * *'}],
+                   'scm': [{'git': {'url': '{gitrepo}',
+                                    'branches': ['pu/**']}}],
                    'builders': [{'shell': '/srv/jenkins/bin/d-i_build.sh'}],
                    'project-type': 'freestyle',
                    'properties': prop(middle=sb_pkgs, priority=99),
@@ -351,6 +363,8 @@ data.extend(map(lambda (l, f): jtmpl(act='manual',lang=l,fmt=f,po=(l not in non_
 
 data.extend(map(lambda l: jtmpl(act='build',lang=l), pkgs))
 
+data.extend(map(lambda l: jtmpl(act='pu-build',lang=l), pkgs))
+
 
 jobs = [ '{name}_maintenance',
          '{name}_check_jenkins_jobs',
@@ -365,7 +379,10 @@ jobs.extend(map(lambda (l, fmt): {'_'.join(['{name}','manual',l,fmt]): {'lang':
                         for f in ['html', 'pdf']
                         for l in langs.keys()])))
 
-jobs.extend(map(lambda (p): {'_'.join(['{name}','build',p]): {'gitrepo': 'git://git.debian.org/git/d-i/' + p}},
+jobs.extend(map(lambda (p): {'_'.join(['{name}','build',p]):    {'gitrepo': 'git://git.debian.org/git/d-i/' + p}},
+                pkgs))
+
+jobs.extend(map(lambda (p): {'_'.join(['{name}','pu-build',p]): {'gitrepo': 'git://git.debian.org/git/d-i/' + p}},
                 pkgs))
 
 data.append(

-- 
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