summaryrefslogtreecommitdiffstats
path: root/update_jdn.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-11-04 21:41:50 +0100
committerHolger Levsen <holger@layer-acht.org>2012-11-04 21:41:50 +0100
commit15e90ebc5df0346e95137ecc91c31d5d4195d6cf (patch)
tree33193eb7ce875dd6d46fd003ca9aea6f2d1640ef /update_jdn.sh
parente761ae8344a098f46a37789c5b02bba1a424aa24 (diff)
downloadjenkins.debian.net-15e90ebc5df0346e95137ecc91c31d5d4195d6cf.tar.xz
some more TODO. add job-type prefix to chroot-path
Diffstat (limited to 'update_jdn.sh')
-rwxr-xr-xupdate_jdn.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index 039193d6..27f14103 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -16,7 +16,7 @@ done
#
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/
+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
#
# install packages we need
@@ -41,7 +41,7 @@ fi
sudo chown root.root /etc/sudoers.d/jenkins ; sudo chmod 700 /etc/sudoers.d/jenkins
sudo ln -sf /etc/apache2/sites-available/jenkins.debian.net /etc/apache2/sites-enabled/000-default
sudo service apache2 reload
-cd /etc/munin/plugins ; sudo rm rm postfix_* open_inodes df_inode interrupts diskstats
+cd /etc/munin/plugins ; sudo rm -f postfix_* open_inodes df_inode interrupts diskstats 2>/dev/null
#
# run jenkins-job-builder to update jobs if needed