summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-11-05 00:09:19 +0100
committerHolger Levsen <holger@layer-acht.org>2012-11-05 00:09:19 +0100
commit5bf8fd393b0c05f954e3cd9b99ce3a7d4020aea5 (patch)
treea35c8d4abf1a40c8025259d4e89672c0dccc1e50
parent41c0e2af6b577fb2e29b027c05ccefacff24d449 (diff)
downloadjenkins.debian.net-5bf8fd393b0c05f954e3cd9b99ce3a7d4020aea5.tar.xz
fixup: be more verbose
-rwxr-xr-xupdate_jdn.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index 90f72ae3..0edb5a1a 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -3,9 +3,11 @@
# Copyright 2012 Holger Levsen <holger@layer-acht.org>
# released under the GPLv=2
+BASEDIR=/root/jenkins.debian.net
+
explain() {
echo
- echo $@
+ echo $1
echo
}
@@ -29,6 +31,7 @@ explain "Packages installed."
#
# deploy package configuration in /etc
#
+cd $BASEDIR
sudo cp -r etc/* /etc
#
@@ -48,6 +51,7 @@ explain "Packages configured."
#
# install the heart of jenkins.debian.net
#
+cd $BASEDIR
cp -r bin logparse job-cfg /srv/jenkins/
cp -r userContent/* /var/lib/jenkins/userContent/
asciidoc -a numbered -a data-uri -a iconsdir=/etc/asciidoc/images/icons -a scriptsdir=/etc/asciidoc/javascripts -a imagesdir=./ -b html5 -a toc -a toclevels=4 -a icons -o about.html TODO && cp about.html /var/lib/jenkins/userContent/ && echo Updated about.html