summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_dashboard.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-05-18 17:42:31 +0200
committerHolger Levsen <holger@layer-acht.org>2016-05-18 17:43:41 +0200
commitf636b7168cc2fe342035f481a1b90c985cee55e1 (patch)
tree3a4cb59e3f7487a1253c262baf5ef55f3f0c4980 /bin/reproducible_html_dashboard.sh
parentab6492de80c2afc5dd9334b50201e844b03fd11b (diff)
downloadjenkins.debian.net-f636b7168cc2fe342035f481a1b90c985cee55e1.tar.xz
reproducible debian: new page, performance stats, split off from dashboard
Diffstat (limited to 'bin/reproducible_html_dashboard.sh')
-rwxr-xr-xbin/reproducible_html_dashboard.sh24
1 files changed, 20 insertions, 4 deletions
diff --git a/bin/reproducible_html_dashboard.sh b/bin/reproducible_html_dashboard.sh
index 1c5aeddd..0a438fc7 100755
--- a/bin/reproducible_html_dashboard.sh
+++ b/bin/reproducible_html_dashboard.sh
@@ -553,7 +553,24 @@ create_dashboard_page() {
write_page "</p>"
# explain setup
write_variation_table debian
- # redo arch specific pngs once a day and write build per day graphs
+ # link to index_breakages
+ write_page "<p style=\"clear:both;\">"
+ write_page "<br />There are <a href=\"$BASEURL/index_breakages.html\">some problems in this test setup itself</a> too. And there is <a href=\"https://jenkins.debian.net/userContent/about.html#_reproducible_builds_jobs\">documentation</a> too, in case you missed the link at the top. Feedback is very much appreciated.</p>"
+ # the end
+ write_page_footer
+ cp $PAGE $BASE/reproducible.html
+ publish_page
+}
+
+#
+# create performance page
+#
+create_performance_page() {
+ VIEW=performance
+ PAGE=index_${VIEW}.html
+ echo "$(date -u) - starting to write $PAGE page."
+ write_page_header $VIEW "Build node performance stats"
+ # arch performance stats
write_page "<p style=\"clear:both;\">"
for ARCH in ${ARCHS} ; do
write_page " <a href=\"/${TABLE[1]}_$ARCH.png\"><img src=\"/${TABLE[1]}_$ARCH.png\" class=\"overview\" alt=\"${MAINLABEL[1]}\"></a>"
@@ -561,7 +578,6 @@ create_dashboard_page() {
create_png_from_table 1 ${TABLE[1]}_$ARCH.png
fi
done
- # write performance stats
write_page "<p style=\"clear:both;\">"
write_build_performance_stats
# write suite builds age graphs
@@ -572,9 +588,8 @@ create_dashboard_page() {
done
write_page "</p><p style=\"clear:both;\">"
done
- # link to index_breakages
- write_page "<br />There are <a href=\"$BASEURL/index_breakages.html\">some problems in this test setup itself</a> too. And there is <a href=\"https://jenkins.debian.net/userContent/about.html#_reproducible_builds_jobs\">documentation</a> too, in case you missed the link at the top. Feedback is very much appreciated.</p>"
# the end
+ write_page "Daily <a href=\"https://jenkins.debian.net/view/reproducible/job/reproducible_nodes_info/lastBuild/console\">individual build node performance stats</a> are available too.</p>"
write_page_footer
cp $PAGE $BASE/reproducible.html
publish_page
@@ -596,4 +611,5 @@ done
ARCH="amd64"
SUITE="unstable"
create_dashboard_page
+create_performance_page
rm -f $DUMMY_FILE >/dev/null