diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-06-20 23:23:35 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-06-20 23:23:35 +0200 |
commit | 22f3866df42d1085ef31e632187082f1a2ddc5f5 (patch) | |
tree | f1c4f942fc327e9d773bf9207eba0f1bb6bdd728 | |
parent | 32b72d21851759777a32eafa36aeafb44115986d (diff) | |
download | jenkins.debian.net-22f3866df42d1085ef31e632187082f1a2ddc5f5.tar.xz |
preserve modification times to avoid unneeded updates
-rwxr-xr-x | update_jdn.sh | 2 |
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 |