[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible Debian: correctly count enabled jobs, do not count disabled ones

Holger Levsen holger at layer-acht.org
Sat Jun 3 14:47:25 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit add197f028b39ba4847e80feb4bebf3e99028d78
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Jun 3 16:47:20 2017 +0200

    reproducible Debian: correctly count enabled jobs, do not count disabled ones
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_html_dashboard.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_html_dashboard.sh b/bin/reproducible_html_dashboard.sh
index c0f0d67..684765b 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list