summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/jenkins_node_wrapper.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh
index f96cffbe..3334d3bf 100755
--- a/bin/jenkins_node_wrapper.sh
+++ b/bin/jenkins_node_wrapper.sh
@@ -59,7 +59,9 @@ info "remote_host called with $*"
allowed_cmds=()
-if [[ "$*" =~ rebootstrap_.* ]] ; then
+if [[ "$*" =~ /bin/nc\ -q\ 0\ localhost\ 4949 ]] ; then
+ exec nc -q 0 localhost 4949 ; croak "Exec failed";
+elif [[ "$*" =~ rebootstrap_.* ]] ; then
REBOOTSTRAPSH="/srv/jenkins/bin/chroot-run.sh sid minimal ./bootstrap.sh"
REBOOTSTRAPSH="$REBOOTSTRAPSH HOST_ARCH=$(echo $1 | cut -d "_" -f2)"
if [[ "$*" =~ .*_debbindiff.* ]] ; then