summaryrefslogtreecommitdiffstats
path: root/job-cfg/d-i.yaml.py
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2015-06-03 09:03:23 +0100
committerPhilip Hands <phil@hands.com>2015-06-03 09:35:52 +0100
commit1bd58348d51adda421776998bf808eceedc6c8a1 (patch)
tree272a680067606361f6c310df1a26f5c82e1def05 /job-cfg/d-i.yaml.py
parentda9d11345e84c23364b97eec9f6f8080b92381a6 (diff)
downloadjenkins.debian.net-1bd58348d51adda421776998bf808eceedc6c8a1.tar.xz
add jobs for pu/** branches (probably ;-))
Diffstat (limited to 'job-cfg/d-i.yaml.py')
-rwxr-xr-xjob-cfg/d-i.yaml.py21
1 files changed, 19 insertions, 2 deletions
diff --git a/job-cfg/d-i.yaml.py b/job-cfg/d-i.yaml.py
index d278e293..817d24d3 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(