[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible dashboard: dont show 3 month build stats for i386 (yet)
Holger Levsen
holger at layer-acht.org
Mon Apr 18 18:31:25 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 8fe3fa523274815cb7d614b24069b556c7dd49d6
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Apr 18 20:31:13 2016 +0200
reproducible dashboard: dont show 3 month build stats for i386 (yet)
---
bin/reproducible_html_dashboard.sh | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_html_dashboard.sh b/bin/reproducible_html_dashboard.sh
index fba34fd..f5d1faa 100755
--- a/bin/reproducible_html_dashboard.sh
+++ b/bin/reproducible_html_dashboard.sh
@@ -336,8 +336,12 @@ write_build_performance_stats() {
local TIMESPAN_RAW="91.5"
write_page "</tr><tr><td>packages tested on average per day in the last $TIMESPAN_VERBOSE</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', '-$TIMESPAN_RAW days') AND r.architecture='$ARCH'")
- RESULT="$(echo $RESULT/$TIMESPAN_RAW|bc)"
+ 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
write_page "<td>$RESULT</td>"
done
write_page "</tr></table>"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list