summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/jenkins_node_wrapper.sh1
1 files changed, 1 insertions, 0 deletions
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";