diff options
author | Holger Levsen <holger@layer-acht.org> | 2017-06-03 16:47:20 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-06-03 16:47:20 +0200 |
commit | add197f028b39ba4847e80feb4bebf3e99028d78 (patch) | |
tree | 38ea3e54a369ff214c614432f7601d2126501335 | |
parent | 57a045df088b607298f99833b1738274a7300ea1 (diff) | |
download | jenkins.debian.net-add197f028b39ba4847e80feb4bebf3e99028d78.tar.xz |
reproducible Debian: correctly count enabled jobs, do not count disabled ones
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-x | bin/reproducible_html_dashboard.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_html_dashboard.sh b/bin/reproducible_html_dashboard.sh index c0f0d673..684765b0 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>$(grep "MAX=" /srv/jenkins/bin/reproducible_build_service.sh |grep $ARCH|cut -d "=" -f2-|cut -d " " -f1)</td>" + write_page "<td>$(grep NODE1= /srv/jenkins/bin/reproducible_build_service.sh | grep -v \# | grep -c $ARCH)</td>" done write_page "</tr><tr><td class=\"left\">Build jobs currently running remotely</td>" for ARCH in ${ARCHS} ; do |