summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_graphs.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-02 20:35:28 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-02 20:35:28 +0100
commit694db971af783dddfd0b644135aa37f162057aa5 (patch)
tree91f36f87e3f1a2394009a3297538ace1fcf6d395 /bin/reproducible_html_graphs.sh
parentddb9592e79fbd5b801b901420568f28ab42b2a77 (diff)
downloadjenkins.debian.net-694db971af783dddfd0b644135aa37f162057aa5.tar.xz
reproducible: more suite related navigation fixes
Diffstat (limited to 'bin/reproducible_html_graphs.sh')
-rwxr-xr-xbin/reproducible_html_graphs.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh
index 0522192b..aa2087fb 100755
--- a/bin/reproducible_html_graphs.sh
+++ b/bin/reproducible_html_graphs.sh
@@ -11,9 +11,6 @@ common_init "$@"
# common code defining db access
. /srv/jenkins/bin/reproducible_common.sh
-init_html
-gather_stats
-
if [ -n "$1" ] ; then
SUITE="$1"
else
@@ -21,6 +18,9 @@ else
fi
ARCH="amd64" # we only care about amd64 status here (for now)
+init_html
+gather_stats
+
#
# create stats
#
@@ -331,20 +331,20 @@ for i in $(seq 1 ${#META_PKGSET[@]}) ; do
set_icon reproducible
write_icon
write_page "$COUNT_META_GOOD packages ($PERCENT_META_GOOD%) successfully built reproducibly:"
- set_linktarget $SUITE $ARCH $META_GOOD
+ set_linktarget $META_GOOD
link_packages $META_GOOD
write_page "<br />"
set_icon unreproducible
write_icon
write_page "$COUNT_META_BAD ($PERCENT_META_BAD%) packages failed to built reproducibly:"
- set_linktarget $SUITE $ARCH $META_BAD
+ set_linktarget $META_BAD
link_packages $META_BAD
write_page "<br />"
if [ $COUNT_META_UGLY -gt 0 ] ; then
set_icon FTBFS
write_icon
write_page "$COUNT_META_UGLY ($PERCENT_META_UGLY%) packages failed to build from source:"
- set_linktarget $SUITE $ARCH $META_UGLY
+ set_linktarget $META_UGLY
link_packages $META_UGLY
write_page "<br />"
fi
@@ -356,7 +356,7 @@ for i in $(seq 1 ${#META_PKGSET[@]}) ; do
set_icon 404
write_icon
write_page "$COUNT_META_REST ($PERCENT_META_REST%) packages are either blacklisted, not for us or cannot be downloaded:"
- set_linktarget $SUITE $ARCH $META_REST
+ set_linktarget $META_REST
link_packages $META_REST
write_page "<br />"
fi