[Qa-jenkins-scm] [jenkins.debian.net] 03/07: update_jdn.sh: pass on args to j-j-b (for --{flush, ignore}-cache opts)
Holger Levsen
holger at moszumanska.debian.org
Fri Dec 11 17:03:39 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 fac779c0782a323e279cc19ad4e3af44571d62e9
Author: Philip Hands <phil at hands.com>
Date: Fri Dec 11 17:51:53 2015 +0100
update_jdn.sh: pass on args to j-j-b (for --{flush,ignore}-cache opts)
---
update_jdn.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/update_jdn.sh b/update_jdn.sh
index 7600db2..d4c1879 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -10,7 +10,9 @@ PVNAME=/dev/vdb # LVM physical volume for jobs
VGNAME=jenkins01 # LVM volume group
STAMP=/var/log/jenkins/update-jenkins.stamp
TMPFILE=$(mktemp)
-JJB=jenkins-job-builder
+# The $@ below means that command line args get passed on to j-j-b
+# which allows one to specify --flush-cache or --ignore-cache
+JJB="jenkins-job-builder $@"
explain() {
echo "$HOSTNAME: $1"
--
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