summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-16 14:12:54 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-16 14:12:54 +0100
commitd02837d31ab70df79ea9a5de5909f5aa0efa6285 (patch)
tree08a5868a76444ad318504644e595d56138a88d04
parent63cc00aa9026e4b2162585e9bb544356fcf09361 (diff)
downloadjenkins.debian.net-d02837d31ab70df79ea9a5de5909f5aa0efa6285.tar.xz
use pigz instead of gzip
-rwxr-xr-xbin/maintainance.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/maintainance.sh b/bin/maintainance.sh
index e5d5f18c..16e144f9 100755
--- a/bin/maintainance.sh
+++ b/bin/maintainance.sh
@@ -42,7 +42,7 @@ remove_old_rebootstrap_logs() {
echo "Old html logs have been deleted:"
echo "$OLDSTUFF"
fi
- COMPRESSED=$(find /var/lib/jenkins/jobs/rebootstrap_* -maxdepth 3 -mindepth 3 -mtime +1 -name log -exec gzip -9 -v {} \;)
+ COMPRESSED=$(find /var/lib/jenkins/jobs/rebootstrap_* -maxdepth 3 -mindepth 3 -mtime +1 -name log -exec pigz -9 -v {} \;)
if [ ! -z "$COMPRESSED" ] ; then
echo "Logs have been compressed:"
echo "$COMPRESSED"