From 54c027a1d92fedc25d8f51a5c8571f39144144c6 Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Sat, 23 Jul 2016 20:24:05 +0200 Subject: lvc: need to set WORKSPACE on the node, otherwise it is set to ~jenkins Signed-off-by: Holger Levsen --- bin/jenkins_node_wrapper.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh index 480abe64..53c2a8d3 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 -- cgit v1.2.3-70-g09d2