diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-09-01 15:27:00 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-09-01 15:27:00 +0200 |
commit | 215be5c098d3aa1b98fb4132080889cdd0bd1d50 (patch) | |
tree | abb6769e1bc7a6dbe89ab263a17f6e19f5f74ba6 /bin | |
parent | 14bc8512be3a78e0ccd0397531b1297e84437564 (diff) | |
download | jenkins.debian.net-215be5c098d3aa1b98fb4132080889cdd0bd1d50.tar.xz |
add some rudimentary documentation
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/jenkins_node_wrapper.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh index b5ffccf8..23717899 100755 --- a/bin/jenkins_node_wrapper.sh +++ b/bin/jenkins_node_wrapper.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash # Copyright (c) 2009, 2010, 2012, 2015 Peter Palfrader +# 2015 Holger Levsen # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the @@ -89,6 +90,8 @@ elif [[ "$*" =~ reproducible_setup_schroot_testing_.*_.* ]] ; then exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-testing testing ; croak "Exec failed"; elif [[ "$*" =~ reproducible_setup_schroot_experimental_.*_.* ]] ; then exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-experimental experimental ; croak "Exec failed"; +elif [ "$*" = "some_jenkins_job_name" ] ; then + exec echo run any commands here ; croak "Exec failed"; fi croak "Command '$*' not found in allowed commands." |