[Qa-jenkins-scm] [jenkins.debian.net] 03/04: d-i: make it possible to specify the git branch by hand for pu/ jobs

Holger Levsen holger at layer-acht.org
Sun Jun 19 22:35:17 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 a531fdc4021f7ed5ee4b89c9e5f980f8373cd5f0
Author: Philip Hands <phil at hands.com>
Date:   Sun Jun 19 21:55:14 2016 +0200

    d-i: make it possible to specify the git branch by hand for pu/ jobs
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 job-cfg/d-i.yaml.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/job-cfg/d-i.yaml.py b/job-cfg/d-i.yaml.py
index 73283a5..1494d49 100755
--- a/job-cfg/d-i.yaml.py
+++ b/job-cfg/d-i.yaml.py
@@ -389,13 +389,14 @@ data.extend(
                          'branches': ['{branch}']}}],
         'builders': [ {'shell': '/srv/jenkins/bin/d-i_build.sh'},
                       {'trigger-builds': [{'project': 'd-i_pu-triggered_debian-installer',
-                       'current-parameters': 'true',
                        'predefined-parameters': 'PU_GIT_BRANCH=$GIT_BRANCH'
                        },
                       ]}
                     ],
         'project-type': 'freestyle',
         'properties': prop(type='packages', priority=99),
+        'parameters': [{'string': {'name': 'GIT_BRANCH',
+                                    'description': 'The git branch to act upon -- this should normally come from an SCM/GIT trigger'}}],
         'logrotate': lr(90),
         'publishers': publ(irc='debian-boot')}}])
 

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