summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins/etc/munin/plugins/jenkins_builds_results
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-02 03:01:54 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-02 03:01:54 +0200
commit43f516696b0a7667c8fd2f2658640971df5c92a4 (patch)
tree5f8dae8fe88b47abfb24f1fce2a48790c8a7d3c9 /hosts/jenkins/etc/munin/plugins/jenkins_builds_results
parentc15ecf50a1f2366904fdaa08237ab496c5725391 (diff)
downloadjenkins.debian.net-43f516696b0a7667c8fd2f2658640971df5c92a4.tar.xz
adopt for newer jenkins LTS
Diffstat (limited to 'hosts/jenkins/etc/munin/plugins/jenkins_builds_results')
-rwxr-xr-xhosts/jenkins/etc/munin/plugins/jenkins_builds_results2
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/jenkins/etc/munin/plugins/jenkins_builds_results b/hosts/jenkins/etc/munin/plugins/jenkins_builds_results
index 596281ff..2169affd 100755
--- a/hosts/jenkins/etc/munin/plugins/jenkins_builds_results
+++ b/hosts/jenkins/etc/munin/plugins/jenkins_builds_results
@@ -61,7 +61,7 @@ if [ "$1" = "config" ]; then
fi
for PREFIX in $JOB_PREFIXES ; do
- PREFIX_RESULTS=$(for i in /var/lib/jenkins/jobs/${PREFIX}*/builds/*_*/log ; do tail -1 $i 2>/dev/null; echo " \n"; done )
+ PREFIX_RESULTS=$(for i in /var/lib/jenkins/jobs/${PREFIX}*/builds/*/log ; do tail -1 $i 2>/dev/null; echo " \n"; done )
for STATE in success unstable failure ; do
NR=0
if [ "$STATE" = "failure" ] ; then