[Qa-jenkins-scm] [jenkins.debian.net] 02/02: preserve modification times to avoid unneeded updates

Holger Levsen holger at layer-acht.org
Mon Jun 20 21:24:15 UTC 2016


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 22f3866df42d1085ef31e632187082f1a2ddc5f5
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Jun 20 23:23:35 2016 +0200

    preserve modification times to avoid unneeded updates
---
 update_jdn.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/update_jdn.sh b/update_jdn.sh
index e312909..5c0c858 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -452,7 +452,7 @@ for dir in bin logparse cucumber live ; do
 done
 HOST_JOBS="hosts/$HOSTNAME/job-cfg"
 if [ -e "$HOST_JOBS" ] ; then
-	sudo rsync -r --copy-links --delete "$HOST_JOBS/" /srv/jenkins/job-cfg/
+	sudo rsync -rpt --copy-links --delete "$HOST_JOBS/" /srv/jenkins/job-cfg/
 	sudo chown -R jenkins-adm.jenkins-adm /srv/jenkins/$dir
 else
     # tidying up ... assuming that we don't want clutter on peripheral servers

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