summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-05-30 00:22:17 +0200
committerHolger Levsen <holger@layer-acht.org>2016-05-30 00:22:17 +0200
commit5017d384f8de17b34318964e1b63dcad62b1a59c (patch)
treefa60bfd8a9fd1e7e8483425cad7987e53977025c /bin
parent593af05869b06d11a75b5bb0db400a80f63a926f (diff)
downloadjenkins.debian.net-5017d384f8de17b34318964e1b63dcad62b1a59c.tar.xz
lvc: fix JOB_NAME
Diffstat (limited to 'bin')
-rwxr-xr-xbin/jenkins_node_wrapper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh
index 77e7f690..cacca9a3 100755
--- a/bin/jenkins_node_wrapper.sh
+++ b/bin/jenkins_node_wrapper.sh
@@ -73,7 +73,7 @@ elif [[ "$*" =~ lvc_.* ]] ; then
echo debug begin
export
echo debug end
- export JOB_NAME=$0
+ export JOB_NAME=$1
export WORKSPACE=~jenkins/jobs/$JOB_NAME/workspace
shift
COMMAND="/srv/jenkins/bin/lvc.sh $@"