summaryrefslogtreecommitdiffstats
path: root/bin/jenkins_node_wrapper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/jenkins_node_wrapper.sh')
-rwxr-xr-xbin/jenkins_node_wrapper.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh
index cacca9a3..ff91c4f9 100755
--- a/bin/jenkins_node_wrapper.sh
+++ b/bin/jenkins_node_wrapper.sh
@@ -73,9 +73,9 @@ elif [[ "$*" =~ lvc_.* ]] ; then
echo debug begin
export
echo debug end
- export JOB_NAME=$1
+ export JOB_NAME=$1 ; shift
+ export EXECUTOR_NUMBER=$1 ; shift
export WORKSPACE=~jenkins/jobs/$JOB_NAME/workspace
- shift
COMMAND="/srv/jenkins/bin/lvc.sh $@"
exec $COMMAND; croak "Exec failed";
elif [ "$*" = "reproducible_nodes_info" ] ; then