summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_dashboard.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-05-02 14:30:04 +0200
committerHolger Levsen <holger@layer-acht.org>2017-05-02 14:30:04 +0200
commit055f9b1e21e169e5ab92a40421bf4b1b35abfca9 (patch)
treee84265f7ed6ec1b7e003181d34b61b4c4b8ee8db /bin/reproducible_html_dashboard.sh
parentdc0c2c2dd090f45d575327275b95b11470991e41 (diff)
downloadjenkins.debian.net-055f9b1e21e169e5ab92a40421bf4b1b35abfca9.tar.xz
reproducible Debian: also report how often diffoscope is run currently
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_html_dashboard.sh')
-rwxr-xr-xbin/reproducible_html_dashboard.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/reproducible_html_dashboard.sh b/bin/reproducible_html_dashboard.sh
index dae5917a..ba2be9d8 100755
--- a/bin/reproducible_html_dashboard.sh
+++ b/bin/reproducible_html_dashboard.sh
@@ -344,6 +344,10 @@ write_build_performance_stats() {
for ARCH in ${ARCHS} ; do
write_page "<td>$(ps fax|grep reproducible_build.sh|grep ssh|grep -c $ARCH)</td>"
done
+ write_page "</tr><tr><td class=\"left\">Build jobs currently running diffoscope</td>"
+ for ARCH in ${ARCHS} ; do
+ write_page "<td>$(ps fax|grep "diffoscope --html /srv/reproducible-results/rbuild-debian"|grep -c $ARCH)</td>"
+ done
write_page "</tr><tr><td class=\"left\">average test duration (on $DATE)</td>"
for ARCH in ${ARCHS} ; do
RESULT=$(query_db "SELECT COALESCE(CAST(AVG(r.build_duration) AS INTEGER), 0) FROM results AS r JOIN sources AS s ON r.package_id=s.id WHERE r.build_duration!='0' AND r.build_date LIKE '%$DATE%' AND s.architecture='$ARCH'")