Synchronize repositories more frequently doing pause in the middle of the day

This commit is contained in:
Игорь Чудов 2019-10-08 13:05:58 +04:00
parent 6213b5ff77
commit 71c8a01408
Signed by untrusted user: nir
GPG Key ID: 0F3883600CAE7AAC

View File

@ -173,7 +173,8 @@ platforms.each { platform ->
}
}
triggers {
cron('H 3,7,9 * * *')
// Make a pause for sync during working hours
cron('H 3,7,9,20,23 * * *')
}
steps {
shell('/usr/bin/env MIRRORS_DEST=${MIRRORS_DEST} MIRRORS_SRC=${MIRRORS_SRC} PLATFORM=' + platform + ' /bin/sh ./scripts/sync_alt_repo')