[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible: also ignore unreproducible results when graphing build_age
Holger Levsen
holger at moszumanska.debian.org
Fri May 22 12:24:26 UTC 2015
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 bdedcf03659a56632047fdc75f60ccb024bd93a6
Author: Holger Levsen <holger at layer-acht.org>
Date: Fri May 22 13:13:55 2015 +0200
reproducible: also ignore unreproducible results when graphing build_age
---
bin/reproducible_html_graphs.sh | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh
index 8a69a85..e7566f3 100755
--- a/bin/reproducible_html_graphs.sh
+++ b/bin/reproducible_html_graphs.sh
@@ -304,8 +304,8 @@ create_png_from_table() {
(SELECT e.other FROM stats_builds_per_day e WHERE s.datum=e.datum AND suite='experimental') AS other_experimental
FROM stats_builds_per_day AS s GROUP BY s.datum" >> ${TABLE[$1]}.csv
elif [ $1 -eq 2 ] ; then
- # just make a graph of the oldest successful build (ignore FTBFS)
- sqlite3 -init ${INIT} -csv ${PACKAGES_DB} "SELECT datum, max(oldest_reproducible, oldest_unreproducible) FROM ${TABLE[$1]} ${WHERE_EXTRA} ORDER BY datum" >> ${TABLE[$1]}.csv
+ # just make a graph of the oldest reproducible build (ignore FTBFS and unreproducible)
+ sqlite3 -init ${INIT} -csv ${PACKAGES_DB} "SELECT datum, oldest_reproducible FROM ${TABLE[$1]} ${WHERE_EXTRA} ORDER BY datum" >> ${TABLE[$1]}.csv
elif [ $1 -eq 7 ] ; then
sqlite3 -init ${INIT} -csv ${PACKAGES_DB} "SELECT datum, $SUM_DONE, $SUM_OPEN from ${TABLE[3]} ORDER BY datum" >> ${TABLE[$1]}.csv
else
@@ -581,11 +581,11 @@ create_main_stats_page() {
done
write_page "</p>"
# write suite builds age graphs
- write_page "<p>"
+ write_page "<p><table><tr>"
for SUITE in $SUITES ; do
- write_page " <a href=\"/$SUITE\"><img src=\"/userContent/$SUITE/${TABLE[2]}.png\" class=\"overview\" alt=\"$SUITE builds age\"></a>"
+ write_page " <td><a href=\"/$SUITE\"><img src=\"/userContent/$SUITE/${TABLE[2]}.png\" class=\"overview\" alt=\"$SUITE reproducible builds age\"></a><td>"
done
- write_page "</p>"
+ write_page "</tr></table></p>"
# link to index_breakages
write_page "<p>There are <a href=\"$BASEURL/index_breakages.html\">some problems in this setup</a> too.</p>"
# the end
--
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