[Qa-jenkins-scm] [jenkins.debian.net] 01/02: don't do the asciidoc stuff on jenkins-test-vm, as the disk's too small

Holger Levsen holger at moszumanska.debian.org
Sat Nov 14 13:26:18 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 baf00018c733845cb4723b1fce4dbecfdc34ccfb
Author: Philip Hands <phil at hands.com>
Date:   Thu Nov 12 20:39:09 2015 +0100

    don't do the asciidoc stuff on jenkins-test-vm, as the disk's too small
---
 update_jdn.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/update_jdn.sh b/update_jdn.sh
index 824dc70..01c746e 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -359,7 +359,7 @@ sudo chmod 700 /var/lib/jenkins/.ssh
 sudo chmod 600 /var/lib/jenkins/.ssh/authorized_keys
 explain "scripts and configurations for jenkins updated."
 
-if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "jenkins-test-vm" ] ; then
+if [ "$HOSTNAME" = "jenkins" ] ; then
 	sudo cp -pr README INSTALL TODO CONTRIBUTING d-i-preseed-cfgs /var/lib/jenkins/userContent/
 	git log | grep ^Author| cut -d " " -f2-|sort -u > $TMPFILE
 	echo "----" >> $TMPFILE
@@ -379,7 +379,9 @@ if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "jenkins-test-vm" ] ; then
 	rm TODO README INSTALL CONTRIBUTING
 	sudo chown -R jenkins.jenkins /var/lib/jenkins/userContent
 	explain "user content for jenkins updated."
+fi
 
+if [ "$HOSTNAME" = "jenkins" ] || [ "$HOSTNAME" = "jenkins-test-vm" ] ; then
 	#
 	# run jenkins-job-builder to update jobs if needed
 	#     (using sudo because /etc/jenkins_jobs is root:root 700)

-- 
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