aboutsummaryrefslogtreecommitdiff
path: root/control
diff options
context:
space:
mode:
Diffstat (limited to 'control')
-rwxr-xr-xcontrol/jenkins-total-builds4
-rwxr-xr-xcontrol/jenkins-total-duration5
2 files changed, 0 insertions, 9 deletions
diff --git a/control/jenkins-total-builds b/control/jenkins-total-builds
deleted file mode 100755
index 5a1c0d5..0000000
--- a/control/jenkins-total-builds
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-# Calculate total number of builds present in archive
-find /var/lib/jenkins/jobs -name log | wc -l
diff --git a/control/jenkins-total-duration b/control/jenkins-total-duration
deleted file mode 100755
index 723843a..0000000
--- a/control/jenkins-total-duration
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-JENKINS_ROOT=/var/lib/jenkins/jobs
-find $JENKINS_ROOT -name 'build.xml*' | xargs cat | awk '/<duration>.+<\/duration>/ { dur += gensub(".*>([0-9]+).*", "\\1", "g"); }
-END { printf("%.2fhrs\n", dur / 1000 / 60 / 60); }'