From d7092d590511f168e8af953f71ce23b31c4e7b0c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 16 Feb 2015 14:21:29 +0100 Subject: helmut: oh. why pigz? it's compression ratio is worse and the process is io-bound anyway (i.e. cannot use more cpus) --- bin/maintainance.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2