summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-31 14:58:11 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-31 14:58:11 +0200
commit7976b7a967b47a041bff2878c54e7c203a3fa5df (patch)
tree56646e8dd1f8c58a0d4b26b2c699e8cfcfbdb70f /bin
parenta36e86495081e22cf8eb6f8a23f84df2a2f280b6 (diff)
downloadjenkins.debian.net-7976b7a967b47a041bff2878c54e7c203a3fa5df.tar.xz
configure munin to monitor the armhf hosts via ssh+nc
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