summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_build_service.sh1
-rwxr-xr-xbin/reproducible_html_dashboard.sh2
2 files changed, 1 insertions, 2 deletions
diff --git a/bin/reproducible_build_service.sh b/bin/reproducible_build_service.sh
index 390db7e3..17d736f1 100755
--- a/bin/reproducible_build_service.sh
+++ b/bin/reproducible_build_service.sh
@@ -264,7 +264,6 @@ done
# * maintenance job might want to:
# - check for running builds using systemctl show & ps fax
# - check if at least one build is running on a build node
-# * dashboard jobs need to count for running jobs in this script…
# * drop jobs from repro.yaml
# * use ExecStop to kill remote builds on shutdown
# - remove cleanup_nodes.sh once this works
diff --git a/bin/reproducible_html_dashboard.sh b/bin/reproducible_html_dashboard.sh
index 7f4b0804..53f78d87 100755
--- a/bin/reproducible_html_dashboard.sh
+++ b/bin/reproducible_html_dashboard.sh
@@ -338,7 +338,7 @@ write_build_performance_stats() {
done
write_page "</tr><tr><td class=\"left\">Build jobs configured</td>"
for ARCH in ${ARCHS} ; do
- write_page "<td>$(ls /var/lib/jenkins/jobs/reproducible_builder_* -1d|grep -c $ARCH)</td>"
+ write_page "<td>$(grep "MAX=" /srv/jenkins/bin/reproducible_build_service.sh |grep $ARCH|cut -d "=" -f2-|cut -d " " -f1)</td>"
done
write_page "</tr><tr><td class=\"left\">Build jobs currently running</td>"
for ARCH in ${ARCHS} ; do