diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-01-06 15:28:54 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-01-06 15:28:54 +0100 |
commit | 46fcc07a51eec653c8befc10471346897e1e8e54 (patch) | |
tree | 8c03975826d478284f2266149f64f4589e16596f /bin/jenkins_node_wrapper.sh | |
parent | 6e33809f9bbaaab62f4d9ba7a76a5291a9163694 (diff) | |
download | jenkins.debian.net-46fcc07a51eec653c8befc10471346897e1e8e54.tar.xz |
reproducible: fix perms to clean up nodes
Diffstat (limited to 'bin/jenkins_node_wrapper.sh')
-rwxr-xr-x | bin/jenkins_node_wrapper.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh index ebf61efe..5820d933 100755 --- a/bin/jenkins_node_wrapper.sh +++ b/bin/jenkins_node_wrapper.sh @@ -60,7 +60,7 @@ allowed_cmds=() if [[ "$*" =~ /bin/true ]] ; then exec /bin/true ; croak "Exec failed"; -elif [[ "$*" = "/srv/jenkins/bin/reproducible_slay.sh" ]] ; then +elif [[ "$*" = "cleanup_nodes /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"; |