From baf00018c733845cb4723b1fce4dbecfdc34ccfb Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Thu, 12 Nov 2015 20:39:09 +0100 Subject: 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(-) (limited to 'update_jdn.sh') diff --git a/update_jdn.sh b/update_jdn.sh index 824dc70b..01c746eb 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) -- cgit v1.2.3-70-g09d2