summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2015-11-12 20:39:09 +0100
committerHolger Levsen <holger@layer-acht.org>2015-11-14 14:25:13 +0100
commitbaf00018c733845cb4723b1fce4dbecfdc34ccfb (patch)
tree7c43376e29a62ec5b68e92202169078a1f9ff771
parentb6e3571eb9972aa765b1e5793baae6b3cfa1683f (diff)
downloadjenkins.debian.net-baf00018c733845cb4723b1fce4dbecfdc34ccfb.tar.xz
don't do the asciidoc stuff on jenkins-test-vm, as the disk's too small
-rwxr-xr-xupdate_jdn.sh4
1 files changed, 3 insertions, 1 deletions
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)