From 1bd58348d51adda421776998bf808eceedc6c8a1 Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Wed, 3 Jun 2015 09:03:23 +0100 Subject: add jobs for pu/** branches (probably ;-)) --- job-cfg/d-i.yaml.py | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'job-cfg') 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
{gitrepo}
{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
{gitrepo}
{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( -- cgit v1.2.3-70-g09d2