[Qa-jenkins-scm] [jenkins.debian.net] 03/05: lvc: need to set WORKSPACE on the node, otherwise it is set to ~jenkins
Holger Levsen
holger at layer-acht.org
Sat Jul 23 22:35:49 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 54c027a1d92fedc25d8f51a5c8571f39144144c6
Author: Philip Hands <phil at hands.com>
Date: Sat Jul 23 20:24:05 2016 +0200
lvc: need to set WORKSPACE on the node, otherwise it is set to ~jenkins
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/jenkins_node_wrapper.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh
index 480abe6..53c2a8d 100755
--- a/bin/jenkins_node_wrapper.sh
+++ b/bin/jenkins_node_wrapper.sh
@@ -76,6 +76,7 @@ elif [[ "$*" =~ ^lvc_.* ]] ; then
export JOB_NAME=$1 ; shift
export EXECUTOR_NUMBER=$1 ; shift
export TRIGGERING_BRANCH=${1#*=} ; shift
+ export WORKSPACE=~jenkins/jobs/$JOB_NAME/workspace
COMMAND="/srv/jenkins/bin/lvc.sh $@"
exec $COMMAND; croak "Exec failed";
elif [ "$*" = "reproducible_nodes_info" ] ; then
--
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