summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-11-10 00:44:55 +0100
committerHolger Levsen <holger@layer-acht.org>2012-11-10 00:44:55 +0100
commit1fa35776e4e326bfd148ebe77ca90ace07c1f51b (patch)
tree7221f5f1956a2e89ee1ba4f4dc08c9b3865a7f11 /etc
parentb4b8848c67a100db67be6248f034def916ec85ae (diff)
downloadjenkins.debian.net-1fa35776e4e326bfd148ebe77ca90ace07c1f51b.tar.xz
another plugin fix, saving 4%
Diffstat (limited to 'etc')
-rwxr-xr-xetc/munin/plugins/jenkins_builds_results1
1 files changed, 0 insertions, 1 deletions
diff --git a/etc/munin/plugins/jenkins_builds_results b/etc/munin/plugins/jenkins_builds_results
index 352da798..f202f388 100755
--- a/etc/munin/plugins/jenkins_builds_results
+++ b/etc/munin/plugins/jenkins_builds_results
@@ -53,7 +53,6 @@ for PREFIX in $JOB_PREFIXES ; do
for STATE in success unstable failed ; do
NR=0
NR=$( (for i in /var/lib/jenkins/jobs/${PREFIX}*/builds/*_*/log ; do tail -1 $i 2>/dev/null; done ) | grep -i -c $STATE)
- NR=$(echo "$NR/2"|bc)
echo "jenkins_builds_results_${PREFIX}_${STATE}.value $NR"
done
done