summaryrefslogtreecommitdiffstats
path: root/job-cfg
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-06-19 21:55:14 +0200
committerHolger Levsen <holger@layer-acht.org>2016-06-20 00:34:38 +0200
commita531fdc4021f7ed5ee4b89c9e5f980f8373cd5f0 (patch)
tree1abfebd218d8a8622ad81ab969c00c151f43a5e5 /job-cfg
parentaf2d5625266c51822bd2ce58cff7af2dd95142b4 (diff)
downloadjenkins.debian.net-a531fdc4021f7ed5ee4b89c9e5f980f8373cd5f0.tar.xz
d-i: make it possible to specify the git branch by hand for pu/ jobs
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'job-cfg')
-rwxr-xr-xjob-cfg/d-i.yaml.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/job-cfg/d-i.yaml.py b/job-cfg/d-i.yaml.py
index 73283a55..1494d499 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')}}])