diff options
Diffstat (limited to 'hosts/jenkins/etc/munin/plugins/jenkins_builds')
-rwxr-xr-x | hosts/jenkins/etc/munin/plugins/jenkins_builds | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/jenkins/etc/munin/plugins/jenkins_builds b/hosts/jenkins/etc/munin/plugins/jenkins_builds index 3010e393..f861b87c 100755 --- a/hosts/jenkins/etc/munin/plugins/jenkins_builds +++ b/hosts/jenkins/etc/munin/plugins/jenkins_builds @@ -59,6 +59,6 @@ if [ "$1" = "config" ]; then fi for PREFIX in $JOB_PREFIXES ; do - NR=$(find /var/lib/jenkins/jobs/$PREFIX*/builds/ -type d -mtime -1 -name "*_*"| wc -l) + NR=$(find /var/lib/jenkins/jobs/$PREFIX*/builds/* -type d -mtime -1| wc -l) echo "jenkins_builds_$PREFIX.value $NR" | tee -a $STATEFILE done |