summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-06-23 14:59:05 +0200
committerHolger Levsen <holger@layer-acht.org>2016-06-23 20:17:27 +0200
commit55d7a97824c8cac4a39823024443bf3da80525e3 (patch)
tree1abd8c7dfa313d07548a16c207f6f80ef1491acc
parente22a8eaed3328a6633629167fd365629e416c631 (diff)
downloadjenkins.debian.net-55d7a97824c8cac4a39823024443bf3da80525e3.tar.xz
lvc: deal with $PU_GIT_BRANCH being unset
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-xbin/jenkins_master_wrapper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/jenkins_master_wrapper.sh b/bin/jenkins_master_wrapper.sh
index aa571089..2c81b682 100755
--- a/bin/jenkins_master_wrapper.sh
+++ b/bin/jenkins_master_wrapper.sh
@@ -25,7 +25,7 @@ get_node_ssh_port $NODE_NAME
case $JOB_NAME in
rebootstrap_*) PARAMS="$JOB_NAME $@"
;;
- lvc_*) PARAMS="$JOB_NAME $EXECUTOR_NUMBER PU_GIT_BRANCH=$PU_GIT_BRANCH $@"
+ lvc_*) PARAMS="$JOB_NAME $EXECUTOR_NUMBER PU_GIT_BRANCH=${PU_GIT_BRANCH:-} $@"
export
;;
*) PARAMS="$JOB_NAME"