summaryrefslogtreecommitdiffstats
path: root/bin/jenkins_node_wrapper.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-09 12:35:48 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-09 12:35:48 +0100
commit9f20c74c7cc4434b298c40f2786dbd9d54981bd8 (patch)
treebff7f1a319257143ada444aea9b5cd77f3f532b4 /bin/jenkins_node_wrapper.sh
parent3c2f65d77d08ab47ecc6ff75eecc729e64575a0b (diff)
downloadjenkins.debian.net-9f20c74c7cc4434b298c40f2786dbd9d54981bd8.tar.xz
reproducible: add new script, reproducible_cleanup_nodes.sh, to kill lonely build processes on all nodes
Diffstat (limited to 'bin/jenkins_node_wrapper.sh')
-rwxr-xr-xbin/jenkins_node_wrapper.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh
index c830377f..4d41a256 100755
--- a/bin/jenkins_node_wrapper.sh
+++ b/bin/jenkins_node_wrapper.sh
@@ -60,6 +60,8 @@ allowed_cmds=()
if [[ "$*" =~ /bin/true ]] ; then
exec /bin/true ; croak "Exec failed";
+elif [[ "$*" = "/srv/jenkins/bin/reproducible_slay.sh" ]] ; then
+ exec /srv/jenkins/bin/reproducible_slay.sh ; croak "Exec failed";
elif [[ "$*" =~ /bin/nc\ localhost\ 4949 ]] ; then
exec /bin/nc localhost 4949 ; croak "Exec failed";
elif [[ "$*" =~ rebootstrap_.* ]] ; then