[Qa-jenkins-scm] [jenkins.debian.net] 01/01: lvc: deal with $PU_GIT_BRANCH being unset

Holger Levsen holger at layer-acht.org
Thu Jun 23 18:18:22 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 55d7a97824c8cac4a39823024443bf3da80525e3
Author: Philip Hands <phil at hands.com>
Date:   Thu Jun 23 14:59:05 2016 +0200

    lvc: deal with $PU_GIT_BRANCH being unset
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/jenkins_master_wrapper.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/jenkins_master_wrapper.sh b/bin/jenkins_master_wrapper.sh
index aa57108..2c81b68 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"

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