diff options
Diffstat (limited to 'bin/reproducible_html_graphs.sh')
-rwxr-xr-x | bin/reproducible_html_graphs.sh | 14 |
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 |