summaryrefslogtreecommitdiffstats
path: root/etc/munin/plugins/jenkins_builds
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-11-10 00:24:04 +0100
committerHolger Levsen <holger@layer-acht.org>2012-11-10 00:24:04 +0100
commit075deb383e9f2726f1803093a44f4108beabd6ca (patch)
treeeec0ebd9fe171f3d02022df507f7ef518c648353 /etc/munin/plugins/jenkins_builds
parentfbdd445e8ac1fe53ce0583d1697959bcaf47ff2d (diff)
downloadjenkins.debian.net-075deb383e9f2726f1803093a44f4108beabd6ca.tar.xz
quite some munin plugin fixes
Diffstat (limited to 'etc/munin/plugins/jenkins_builds')
-rwxr-xr-xetc/munin/plugins/jenkins_builds2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/munin/plugins/jenkins_builds b/etc/munin/plugins/jenkins_builds
index 9cb2d2d8..c2d0fea6 100755
--- a/etc/munin/plugins/jenkins_builds
+++ b/etc/munin/plugins/jenkins_builds
@@ -48,6 +48,6 @@ if [ "$1" = "config" ]; then
fi
for PREFIX in $JOB_PREFIXES ; do
- NR=$(find /var/lib/jenkins/jobs/$PREFIX*/builds/* -type d -mtime -1 | wc -l)
+ NR=$(find /var/lib/jenkins/jobs/$PREFIX*/builds/ -type d -mtime -1 -name "*_*"| wc -l)
echo "jenkins_builds_$PREFIX.value $NR"
done