[Qa-jenkins-scm] [jenkins.debian.net] 06/06: d-i: only trigger lvc_debian-miniiso after a triggered d-i build

Holger Levsen holger at layer-acht.org
Mon Jul 18 17:59:28 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 caddb4ca0178aab639af04c2fe9ff1cedc8863d0
Author: Philip Hands <phil at hands.com>
Date:   Mon Jul 18 16:49:32 2016 +0200

    d-i: only trigger lvc_debian-miniiso after a triggered d-i build
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 job-cfg/d-i.yaml.py | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/job-cfg/d-i.yaml.py b/job-cfg/d-i.yaml.py
index f1b477c..864a0da 100755
--- a/job-cfg/d-i.yaml.py
+++ b/job-cfg/d-i.yaml.py
@@ -192,11 +192,10 @@ if "jenkins-test-vm" == os.uname()[1]:
     jobs = [ '{name}_build-group', '{name}_pu-build-group']
 
 # add a special job for triggering from the pu/ branches
-jobs.append( {'{name}_{act}_{pkg}': {
+jobs.append( {'{name}_pu-triggered_{pkg}': {
                 'gitrepo': 'git://git.debian.org/git/d-i/{pkg}',
                 'branchdesc': 'master branch',
                 'branch': 'origin/master',
-                'act': 'pu-triggered',
                 'pkg': 'debian-installer',
                 'trg': None,
              }} )
@@ -379,19 +378,21 @@ for f in ['html', 'pdf']:
                         logkeep=90))
         templs.append(jtmpl(act='manual', target='{lang}', fmt=f, po=po))
 
-data.append(gen_default(
-    name='{name}-{act}',
-    downstream=[{'project': 'lvc_debian-miniiso', 'current-parameters': 'true'}],
-    parameters=[ {'string': {'name': 'TRIGGERING_BRANCH', 'description': 'git branch that triggered the build that resulted in this subsequent build.'}}],
-    ))
+data.append(gen_default( name='{name}-{act}'))
 data.append(gen_default(
     name='{name}-pu-{act}',
     downstream=[{'project': 'd-i_pu-triggered_debian-installer','predefined-parameters': 'TRIGGERING_BRANCH=$OUR_BRANCH'}],
     envfile='env.txt',
     ))
+data.append(gen_default(
+    name='{name}-pu-triggered',
+    downstream=[{'project': 'lvc_debian-miniiso', 'current-parameters': 'true'}],
+    parameters=[ {'string': {'name': 'TRIGGERING_BRANCH', 'description': 'git branch that triggered the build that resulted in this subsequent build.'}}],
+    ))
 
 templs.append(jtmpl(act='{act}', target='{pkg}'))
 templs.append(jtmpl(act='pu-{act}', target='{pkg}'))
+templs.append(jtmpl(act='pu-triggered', target='{pkg}'))
 data.extend(templs)
 
 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