summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-01 15:27:00 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-01 15:27:00 +0200
commit215be5c098d3aa1b98fb4132080889cdd0bd1d50 (patch)
treeabb6769e1bc7a6dbe89ab263a17f6e19f5f74ba6 /bin
parent14bc8512be3a78e0ccd0397531b1297e84437564 (diff)
downloadjenkins.debian.net-215be5c098d3aa1b98fb4132080889cdd0bd1d50.tar.xz
add some rudimentary documentation
Diffstat (limited to 'bin')
-rwxr-xr-xbin/jenkins_node_wrapper.sh3
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."