summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-20 23:38:13 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-20 23:38:13 +0100
commit9d3e317aad73843d822e12c60d498e6a07a61b10 (patch)
treebae43928bc7479be69bcbf70519b50d568315487 /bin
parent78527f4218e1adcf6751ed5894d3dad0c18c7b1f (diff)
downloadjenkins.debian.net-9d3e317aad73843d822e12c60d498e6a07a61b10.tar.xz
reproducible: schedule on the full hour so we can recognize manual scheduled once easily
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 0737c729..a339eddc 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -80,7 +80,7 @@ schedule_packages() {
# the current date is subtracted twice, so that later manual scheduling comes first
DAYS=$(echo "$(date +'%j')*2"|bc)
HOURS=$(echo "$(date +'%H')*2"|bc)
- MINS=$(echo "$(date +'%M')*2"|bc)
+ MINS=$(date +'%M') # schedule on the full hour so we can recognize them easily
DATE=$(date +'%Y-%m-%d %H:%M' -d "$DAYS day ago - $HOURS hours - $MINS minutes")
TMPFILE=$(mktemp)
ARTIFACTS=$1