From: Stephen Kitt Date: Tue, 21 Mar 2017 14:30:10 +0000 (+0100) Subject: Compress Java heap dumps using xz X-Git-Tag: release/boron-sr3~65^2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=8e7c925bf9fa5ef8b42fe34cf52b41fafde3d788;p=releng%2Fbuilder.git Compress Java heap dumps using xz xz is included in the baseline image. Change-Id: Ie9cf324331d3a82c89b2265259448dd708759d66 Signed-off-by: Stephen Kitt --- diff --git a/jjb/include-raw-deploy-archives.sh b/jjb/include-raw-deploy-archives.sh index b0351d1e6..5f1429f7b 100644 --- a/jjb/include-raw-deploy-archives.sh +++ b/jjb/include-raw-deploy-archives.sh @@ -118,6 +118,8 @@ find "$ARCHIVES_DIR" -type f -print0 \ | egrep -e ':.*text.*' \ | cut -d: -f1 \ | xargs -d'\n' -r gzip +# Compress Java heap dumps using xz +find "$ARCHIVES_DIR" -type -f -name \*.hprof -print0 | xargs -0 xz zip -r archives.zip "$JENKINS_HOSTNAME/" > "$ARCHIVES_DIR/_archives-zip.log" du -sh archives.zip