[Qa-jenkins-scm] [jenkins.debian.net] 05/05: add some rudimentary documentation
Holger Levsen
holger at moszumanska.debian.org
Tue Sep 1 13:27:25 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 215be5c098d3aa1b98fb4132080889cdd0bd1d50
Author: Holger Levsen <holger at layer-acht.org>
Date: Tue Sep 1 15:27:00 2015 +0200
add some rudimentary documentation
---
bin/jenkins_node_wrapper.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh
index b5ffccf..2371789 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."
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list