summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-05-29 19:46:22 +0200
committerHolger Levsen <holger@layer-acht.org>2016-05-29 19:46:22 +0200
commit24ab153bb34c15d8c35f6adacf1603140f62c39b (patch)
treef1221ba440b6468ba2246e03b7f987b53d39daa3 /bin
parentbdb5ac0d4d4dd19f157958c844564224dac1159a (diff)
downloadjenkins.debian.net-24ab153bb34c15d8c35f6adacf1603140f62c39b.tar.xz
lvc: provide WORKSPACE via ssh wrapper
Diffstat (limited to 'bin')
-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";