summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/jenkins_master_wrapper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/jenkins_master_wrapper.sh b/bin/jenkins_master_wrapper.sh
index f50d85d0..6f472efe 100755
--- a/bin/jenkins_master_wrapper.sh
+++ b/bin/jenkins_master_wrapper.sh
@@ -17,7 +17,7 @@ case "$NODE_NAME" in
exec ssh -p 2226 $NODE_NAME "$JOB_NAME"
;;
profitbricks-build?-amd64.debian.net)
- if [[ "$JOBNAME" =~ rebootstrap_.* ]] ; then
+ if [[ "$JOB_NAME" =~ rebootstrap_.* ]] ; then
exec ssh $NODE_NAME "$JOB_NAME $@"
else
exec ssh $NODE_NAME "$JOB_NAME"