summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-05-29 19:26:44 +0200
committerHolger Levsen <holger@layer-acht.org>2016-05-29 19:26:44 +0200
commitbdb5ac0d4d4dd19f157958c844564224dac1159a (patch)
tree20e92bef7e1d82b88be6f35381bcff0d511159ac /bin
parent7065b96da04706ff93d2a2cd60ca6d7f875b4234 (diff)
downloadjenkins.debian.net-bdb5ac0d4d4dd19f157958c844564224dac1159a.tar.xz
lvc: provide JOB_NAME 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 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";