summaryrefslogtreecommitdiffstats
path: root/etc/munin/plugins/jenkins_builds_results
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-11-09 15:10:52 +0100
committerHolger Levsen <holger@layer-acht.org>2012-11-09 15:10:52 +0100
commit388da4a4805d2d70809dc0c79fddb87ac73e57ee (patch)
treea0296d4d4ff39695e66fab179ba46f646eff22c4 /etc/munin/plugins/jenkins_builds_results
parent4012c47dd42b91af115bfb226ebb84d07441f6ca (diff)
downloadjenkins.debian.net-388da4a4805d2d70809dc0c79fddb87ac73e57ee.tar.xz
use the first underscore (only) as prefix seperator
Diffstat (limited to 'etc/munin/plugins/jenkins_builds_results')
-rwxr-xr-xetc/munin/plugins/jenkins_builds_results2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/munin/plugins/jenkins_builds_results b/etc/munin/plugins/jenkins_builds_results
index 9458b5c7..f30eddef 100755
--- a/etc/munin/plugins/jenkins_builds_results
+++ b/etc/munin/plugins/jenkins_builds_results
@@ -29,7 +29,7 @@ if [ "$1" = "autoconf" ]; then
exit 0
fi
-JOB_PREFIXES=$(ls -1 /var/lib/jenkins/jobs/|cut -d "-" -f1-2|sort -u)
+JOB_PREFIXES=$(ls -1 /var/lib/jenkins/jobs/|cut -d "-" -f1|sort -u)
if [ "$1" = "config" ]; then
echo 'graph_title Jenkins Build results'