diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-05-29 19:26:44 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-05-29 19:26:44 +0200 |
commit | bdb5ac0d4d4dd19f157958c844564224dac1159a (patch) | |
tree | 20e92bef7e1d82b88be6f35381bcff0d511159ac /bin | |
parent | 7065b96da04706ff93d2a2cd60ca6d7f875b4234 (diff) | |
download | jenkins.debian.net-bdb5ac0d4d4dd19f157958c844564224dac1159a.tar.xz |
lvc: provide JOB_NAME 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 74ce9a71..a12829f8 100755 --- a/bin/jenkins_node_wrapper.sh +++ b/bin/jenkins_node_wrapper.sh @@ -70,6 +70,7 @@ elif [[ "$*" =~ rebootstrap_.* ]] ; then export LC_ALL=C exec $REBOOTSTRAPSH; croak "Exec failed"; elif [[ "$*" =~ lvc_.* ]] ; then + export JOB_NAME=$0 shift COMMAND="/srv/jenkins/bin/lvc.sh $@" exec $COMMAND; croak "Exec failed"; |