diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-05-29 19:46:22 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-05-29 19:46:22 +0200 |
commit | 24ab153bb34c15d8c35f6adacf1603140f62c39b (patch) | |
tree | f1221ba440b6468ba2246e03b7f987b53d39daa3 /bin | |
parent | bdb5ac0d4d4dd19f157958c844564224dac1159a (diff) | |
download | jenkins.debian.net-24ab153bb34c15d8c35f6adacf1603140f62c39b.tar.xz |
lvc: provide WORKSPACE via ssh wrapper
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/jenkins_node_wrapper.sh | 1 |
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"; |