[Qa-jenkins-scm] [jenkins.debian.net] 02/02: use more sudo and install munin-node on the build hosts
Holger Levsen
holger at moszumanska.debian.org
Thu Jul 30 12:31:37 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 536130abc60d579e48b14cdac64375828280e7e8
Author: Holger Levsen <holger at layer-acht.org>
Date: Thu Jul 30 14:30:35 2015 +0200
use more sudo and install munin-node on the build hosts
---
update_jdn.sh | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/update_jdn.sh b/update_jdn.sh
index 29de856..c6616ed 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -97,6 +97,8 @@ if [ -f /etc/debian_version ] ; then
debootstrap
devscripts
git
+ munin-node
+ munin-plugins-extra
schroot
screen
subversion
@@ -153,7 +155,6 @@ if [ -f /etc/debian_version ] ; then
mr
mtr-tiny
munin
- munin-plugins-extra
ntp
openbios-ppc
openbios-sparc
@@ -255,7 +256,7 @@ sudo service munin-node force-reload
#
cd $BASEDIR
for dir in bin logparse job-cfg features live ; do
- cp --preserve=mode,timestamps -r $dir /srv/jenkins/
+ sudo cp --preserve=mode,timestamps -r $dir /srv/jenkins/
sudo chown -R jenkins-adm.jenkins-adm /srv/jenkins/$dir
done
sudo mkdir -p /var/lib/jenkins/.ssh
@@ -369,6 +370,6 @@ rgrep FIXME $BASEDIR/* | grep -v "rgrep FIXME" | grep -v echo
#
# finally
#
-touch $STAMP # so on the next run, only configs newer than this file will be updated
+sudo touch $STAMP # so on the next run, only configs newer than this file will be updated
rm -f $TMPFILE
explain "$(hostname -f) successfully updated."
--
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