diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-02-08 15:05:21 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-02-08 15:05:21 +0100 |
commit | 184af8a43f08f87c54bfb3c3287823917d2c1ba9 (patch) | |
tree | 66e864ab3c735fa6ea3335e274e539bfc20e4186 | |
parent | 3ff2a8f94ba438353e8ff347949ab0d7bc0db162 (diff) | |
download | jenkins.debian.net-184af8a43f08f87c54bfb3c3287823917d2c1ba9.tar.xz |
reproducible debian: fix calculation of packages build in the last 24h
-rwxr-xr-x | bin/reproducible_html_dashboard.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_html_dashboard.sh b/bin/reproducible_html_dashboard.sh index 3a44f3da..21434ef3 100755 --- a/bin/reproducible_html_dashboard.sh +++ b/bin/reproducible_html_dashboard.sh @@ -323,7 +323,7 @@ write_build_performance_stats() { done write_page "</tr><tr><td>packages tested in the last 24h</td>" for ARCH in ${ARCHS} ; do - RESULT=$(sqlite3 -init ${INIT} ${PACKAGES_DB} "SELECT COUNT(r.build_date) FROM stats_build AS r WHERE r.build_date > datetime('$(date -u '+%Y-%m-%d')', '-24 hours') AND r.architecture='$ARCH'") + RESULT=$(sqlite3 -init ${INIT} ${PACKAGES_DB} "SELECT COUNT(r.build_date) FROM stats_build AS r WHERE r.build_date > datetime('$(date -u '+%Y-%m-%d %H:%m')', '-24 hours') AND r.architecture='$ARCH'") write_page "<td>$RESULT</td>" done write_page "</tr><tr><td>packages tested on average per day in the last $TIMESPAN_VERBOSE</td>" |