diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-06-25 09:55:48 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-06-25 09:55:48 +0200 |
commit | 67060e4d86929e0b36019a4af2da2f0082c93c96 (patch) | |
tree | 66f89990b4e28a8d6aca28979cdad7f646e9231c | |
parent | 55d7a97824c8cac4a39823024443bf3da80525e3 (diff) | |
download | jenkins.debian.net-67060e4d86929e0b36019a4af2da2f0082c93c96.tar.xz |
reproducible debian: show 3 months build stats for i386 too
-rwxr-xr-x | bin/reproducible_html_dashboard.sh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bin/reproducible_html_dashboard.sh b/bin/reproducible_html_dashboard.sh index 15e6cbde..8d50cef8 100755 --- a/bin/reproducible_html_dashboard.sh +++ b/bin/reproducible_html_dashboard.sh @@ -335,12 +335,8 @@ write_build_performance_stats() { local TIMESPAN_RAW="91.5" write_page "</tr><tr><td class=\"left\">packages tested on average per day in the last $TIMESPAN_VERBOSE</td>" for ARCH in ${ARCHS} ; do - if [ "$ARCH" = "i386" ] ; then - RESULT=" " - else - RESULT=$(sqlite3 -init ${INIT} ${PACKAGES_DB} "SELECT COUNT(r.build_date) FROM stats_build AS r WHERE r.build_date > datetime('$DATE', '-$TIMESPAN_RAW days') AND r.architecture='$ARCH'") - RESULT="$(echo $RESULT/$TIMESPAN_RAW|bc)" - fi + RESULT=$(sqlite3 -init ${INIT} ${PACKAGES_DB} "SELECT COUNT(r.build_date) FROM stats_build AS r WHERE r.build_date > datetime('$DATE', '-$TIMESPAN_RAW days') AND r.architecture='$ARCH'") + RESULT="$(echo $RESULT/$TIMESPAN_RAW|bc)" write_page "<td>$RESULT</td>" done write_page "</tr></table>" |