[Qa-jenkins-scm] [jenkins.debian.net] 01/02: update_jdn: autodetect BASEDIR (=> where to copy all stuff from) based on where the current running script is, instead of requiring it to be in ~/jenkins.d.n
Holger Levsen
holger at layer-acht.org
Wed Aug 3 14:06:19 UTC 2016
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 05e1ae10fb88e1dc01971dba6bc2d406efea5281
Author: Mattia Rizzolo <mattia at debian.org>
Date: Wed Aug 3 13:54:14 2016 +0000
update_jdn: autodetect BASEDIR (=> where to copy all stuff from) based on where the current running script is, instead of requiring it to be in ~/jenkins.d.n
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
update_jdn.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/update_jdn.sh b/update_jdn.sh
index 72fa725..93628c7 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -4,7 +4,7 @@
set -e
-BASEDIR=$HOME/jenkins.debian.net
+BASEDIR="$(dirname $0)"
PVNAME=/dev/vdb # LVM physical volume for jobs
VGNAME=jenkins01 # LVM volume group
STAMP=/var/log/jenkins/update-jenkins.stamp
--
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