summaryrefslogtreecommitdiffstats
path: root/update_jdn.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-06-20 23:23:35 +0200
committerHolger Levsen <holger@layer-acht.org>2016-06-20 23:23:35 +0200
commit22f3866df42d1085ef31e632187082f1a2ddc5f5 (patch)
treef1c4f942fc327e9d773bf9207eba0f1bb6bdd728 /update_jdn.sh
parent32b72d21851759777a32eafa36aeafb44115986d (diff)
downloadjenkins.debian.net-22f3866df42d1085ef31e632187082f1a2ddc5f5.tar.xz
preserve modification times to avoid unneeded updates
Diffstat (limited to 'update_jdn.sh')
-rwxr-xr-xupdate_jdn.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index e312909a..5c0c8584 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