diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/maintainance.sh | 2 |
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 |