summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build1-amd64/etc/munin/plugins
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-05 13:14:57 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-05 13:14:57 +0200
commit299e6d58a5d8acdc57ff2ff2725a9936bb27d168 (patch)
tree9907b244258d108bbf6d67571c827f706849f4e5 /hosts/profitbricks-build1-amd64/etc/munin/plugins
parent96ce46531ca88c067363556cd84347a813e1dc37 (diff)
downloadjenkins.debian.net-299e6d58a5d8acdc57ff2ff2725a9936bb27d168.tar.xz
reproducible: fix munin graphs to count correctly
Diffstat (limited to 'hosts/profitbricks-build1-amd64/etc/munin/plugins')
-rwxr-xr-xhosts/profitbricks-build1-amd64/etc/munin/plugins/jenkins_reproducible_builds4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/profitbricks-build1-amd64/etc/munin/plugins/jenkins_reproducible_builds b/hosts/profitbricks-build1-amd64/etc/munin/plugins/jenkins_reproducible_builds
index ed189f1e..f59969b0 100755
--- a/hosts/profitbricks-build1-amd64/etc/munin/plugins/jenkins_reproducible_builds
+++ b/hosts/profitbricks-build1-amd64/etc/munin/plugins/jenkins_reproducible_builds
@@ -48,9 +48,9 @@ fi
for PREFIX in $JOB_PREFIXES ; do
if [ "$PREFIX" = "first" ] ; then
- NR=$(ps fax | grep -c "bin/bash /srv/jenkins/bin/reproducible_build.sh 1")
+ NR=$(ps fax | grep -v grep | grep -c "bin/bash /srv/jenkins/bin/reproducible_build.sh 1")
else
- NR=$(ps fax | grep -c "bin/bash /srv/jenkins/bin/reproducible_build.sh 2")
+ NR=$(ps fax | grep -v grep | grep -c "bin/bash /srv/jenkins/bin/reproducible_build.sh 2")
fi
echo "jenkins_reproducible_${PREFIX}_build.value $NR"
done