summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-06 10:59:34 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-06 10:59:34 +0100
commitb75e5df21cdfb517619e1dec8988f3e634028270 (patch)
treecd35368588bf43309ef31f3eca6b0acbf49b06bc
parent5880442d2d25df3827ea902c44db37dae3ed7f00 (diff)
downloadjenkins.debian.net-b75e5df21cdfb517619e1dec8988f3e634028270.tar.xz
reproducible: suite stats are also arch specific. 2 fixmes down.
-rwxr-xr-xbin/reproducible_html_graphs.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh
index 213a6bd9..369522af 100755
--- a/bin/reproducible_html_graphs.sh
+++ b/bin/reproducible_html_graphs.sh
@@ -68,10 +68,12 @@ if [ -z $RESULT ] ; then
sqlite3 -init ${INIT} ${PACKAGES_DB} "INSERT INTO ${TABLE[2]} VALUES (\"$DATE\", \"$SUITE\", \"$DIFFG\", \"$DIFFB\", \"$DIFFU\")"
# we do 3 later and 6 is special anyway...
for i in 0 1 2 4 5 ; do
+ PREFIX=""
# force regeneration of the image if it exists
- # FIXME: 0 needs $SUITE, 1 2 4 5 are fine
- # FIXME: some other queries above need *not* to refer to $SUITE... but rather $SUITES
- [ ! -f /var/lib/jenkins/userContent/${TABLE[$i]}.png ] || touch -d "$DATE 00:00" /var/lib/jenkins/userContent/${TABLE[$i]}.png
+ if [ $i -eq 0 ] ; then
+ PREFIX=$SUITE
+ fi
+ [ ! -f /var/lib/jenkins/userContent/$PREFIX/${TABLE[$i]}.png ] || touch -d "$DATE 00:00" /var/lib/jenkins/userContent/$PREFIX/${TABLE[$i]}.png
done
fi
@@ -288,7 +290,7 @@ fi
write_page "<p>"
set_icon reproducible
write_icon
-write_page "$COUNT_GOOD packages ($PERCENT_GOOD%) successfully built reproducibly in $SUITE."
+write_page "$COUNT_GOOD packages ($PERCENT_GOOD%) successfully built reproducibly in $SUITE/$ARCH."
set_icon unreproducible
write_icon
write_page "$COUNT_BAD packages ($PERCENT_BAD%) failed to built reproducibly."