summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2019-07-16 10:09:19 +0200
committerosmith <osmith@sysmocom.de>2019-07-23 12:14:26 +0000
commitb86cf865c1bfbe24c2b7dc68c988fb865b5b6217 (patch)
treee6a58be1bda13138a70955d628851ec482500074
parent6550682ee09220e6187c82db26f6f7ba1eb374d0 (diff)
osmocom-debian-install.yml: add BRANCH variable
Allow changing the branch in the jenkins UI when starting the build. We already have this in other jobs, and it is very useful to test changes. Change-Id: Ice4662551625b3c96ca105629a934a0a081db2e4
-rw-r--r--jobs/osmocom-debian-install.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/jobs/osmocom-debian-install.yml b/jobs/osmocom-debian-install.yml
index 80abeec..1f6c62a 100644
--- a/jobs/osmocom-debian-install.yml
+++ b/jobs/osmocom-debian-install.yml
@@ -18,13 +18,19 @@
<li> Check if Osmocom systemd services start properly (<a href="https://osmocom.org/issues/3369">OS#3369</a>)
</ul>
node: osmocom-master-debian9
+ parameters:
+ - string:
+ name: BRANCH
+ description: |
+ docker-playground.git branch
+ default: '*/master'
builders:
- shell:
cd debian-repo-install-test && FEED={type} ./jenkins.sh
scm:
- git:
branches:
- - '*/master'
+ - '$BRANCH'
url: git://git.osmocom.org/docker-playground
git-config-name: 'Jenkins Builder'
git-config-email: 'jenkins@osmocom.org'