summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_dashboards.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-07 22:04:34 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-07 22:04:34 +0200
commitc4033f92ef661eb69a0eb4e29d41117ef851800b (patch)
tree3a7e939c9c8dd2b068b64970f887efd3e1a56c28 /bin/reproducible_html_dashboards.sh
parent9afd9f285eda583306a6eaf3cca442a9f1496e26 (diff)
downloadjenkins.debian.net-c4033f92ef661eb69a0eb4e29d41117ef851800b.tar.xz
reproducible: create stats_builds_per_day.png per arch
Diffstat (limited to 'bin/reproducible_html_dashboards.sh')
-rwxr-xr-xbin/reproducible_html_dashboards.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/bin/reproducible_html_dashboards.sh b/bin/reproducible_html_dashboards.sh
index 68430a4d..e9748759 100755
--- a/bin/reproducible_html_dashboards.sh
+++ b/bin/reproducible_html_dashboards.sh
@@ -382,11 +382,14 @@ create_main_stats_page() {
write_explaination_table debian
# write build per day graph
write_page "<p style=\"clear:both;\">"
- write_page " <a href=\"/userContent/${TABLE[1]}.png\"><img src=\"/userContent/${TABLE[1]}.png\" alt=\"${MAINLABEL[$i]}\"></a>"
+ write_page " <a href=\"/userContent/${TABLE[1]}.png\"><img src=\"/userContent/${TABLE[1]}_$ARCH.png\" alt=\"${MAINLABEL[$i]}\"></a>"
# redo png once a day
- if [ ! -f $BASE/${TABLE[1]}.png ] || [ ! -z $(find $BASE -maxdepth 1 -mtime +0 -name ${TABLE[1]}.png) ] ; then
- create_png_from_table 1 ${TABLE[1]}.png
- fi
+ for ARCH in ${ARCHS} ; do
+ if [ ! -f $BASE/${TABLE[1]}_$ARCH.png ] || [ ! -z $(find $BASE -maxdepth 1 -mtime +0 -name ${TABLE[1]}_$ARCH.png) ] ; then
+ create_png_from_table 1 ${TABLE[1]}_$ARCH.png
+ fi
+ done
+ ARCH="amd64"
# write suite builds age graphs
write_page "</p><p style=\"clear:both;\">"
for SUITE in $SUITES ; do