Merge "Compress Java heap dumps using xz"
authorThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 21 Mar 2017 19:47:34 +0000 (19:47 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 21 Mar 2017 19:47:34 +0000 (19:47 +0000)
jjb/include-raw-deploy-archives.sh

index b0351d1e6b9d230460a5cc94906e3127ada6fa7d..5f1429f7b797d05ca3cdf34210096ecd12552a1e 100644 (file)
@@ -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