From 215be5c098d3aa1b98fb4132080889cdd0bd1d50 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 1 Sep 2015 15:27:00 +0200 Subject: add some rudimentary documentation --- bin/jenkins_node_wrapper.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin') 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." -- cgit v1.2.3-70-g09d2