diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-02-15 17:47:25 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-02-15 17:47:25 +0100 |
commit | a9fb9c925b3dfdb9c0c359b5fe22e69c750b8fba (patch) | |
tree | c7c2e3e533aaa0fe0849f8b36d09b21d850cd62e /bin | |
parent | 3f39981c1ef96e290b78bc0168f7e10abd19f87d (diff) | |
download | jenkins.debian.net-a9fb9c925b3dfdb9c0c359b5fe22e69c750b8fba.tar.xz |
reproducible: warn if packages were scheduled more than 36h ago
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_maintainance.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_maintainance.sh b/bin/reproducible_maintainance.sh index 87ce245f..8be802bd 100755 --- a/bin/reproducible_maintainance.sh +++ b/bin/reproducible_maintainance.sh @@ -85,14 +85,14 @@ QUERY=" SELECT * FROM sources_scheduled WHERE date_scheduled != '' AND date_build_started != '' - AND date_build_started < datetime('now', '-1 day') + AND date_build_started < datetime('now', '-36 hours') ORDER BY date_scheduled " PACKAGES=$(mktemp) sqlite3 -init $INIT ${PACKAGES_DB} "$QUERY" > $PACKAGES 2> /dev/null || echo "Warning: SQL query '$QUERY' failed." if grep -q '|' $PACKAGES ; then echo - echo "Warning: packages found where the build was started more than 24h ago:" + echo "Warning: packages found where the build was started more than 36h ago:" echo "name|date_scheduled|date_build_started" echo cat $PACKAGES |