summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-16 14:21:29 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-16 14:21:29 +0100
commitd7092d590511f168e8af953f71ce23b31c4e7b0c (patch)
treecc8212110f71f159c13619be071ef904d596f5f5 /bin
parentc9cb868d2dc60d598371c41d6cb0751c08790133 (diff)
downloadjenkins.debian.net-d7092d590511f168e8af953f71ce23b31c4e7b0c.tar.xz
helmut: oh. why pigz? it's compression ratio is worse and the process is io-bound anyway (i.e. cannot use more cpus)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/maintainance.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/maintainance.sh b/bin/maintainance.sh
index 132d92ee..89bf5fd1 100755
--- a/bin/maintainance.sh
+++ b/bin/maintainance.sh
@@ -37,7 +37,7 @@ chroot_checks() {
compress_old_jenkins_logs() {
local COMPRESSED
# compress logs to save space
- COMPRESSED=$(find /var/lib/jenkins/jobs/*/builds/ -maxdepth 2 -mindepth 2 -mtime +1 -name log -exec pigz -9 -v {} \;)
+ COMPRESSED=$(find /var/lib/jenkins/jobs/*/builds/ -maxdepth 2 -mindepth 2 -mtime +1 -name log -exec gzip -9 -v {} \;)
if [ ! -z "$COMPRESSED" ] ; then
echo "Logs have been compressed:"
echo