From 24ab153bb34c15d8c35f6adacf1603140f62c39b Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 29 May 2016 19:46:22 +0200 Subject: lvc: provide WORKSPACE via ssh wrapper --- 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 a12829f8..03635edc 100755 --- a/bin/jenkins_node_wrapper.sh +++ b/bin/jenkins_node_wrapper.sh @@ -71,6 +71,7 @@ elif [[ "$*" =~ rebootstrap_.* ]] ; then exec $REBOOTSTRAPSH; croak "Exec failed"; elif [[ "$*" =~ lvc_.* ]] ; then export JOB_NAME=$0 + export WORKSPACE=~jenkins/jobs/$JOB_NAME/workspace shift COMMAND="/srv/jenkins/bin/lvc.sh $@" exec $COMMAND; croak "Exec failed"; -- cgit v1.2.3-54-g00ecf