From 8f2f71b4ecc07565e42d90e827ea183149ebe288 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Sun, 20 Jun 2021 18:31:31 +0200 Subject: [PATCH] [ci] gzip regression report before uploading --- Dangerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dangerfile b/Dangerfile index 06eb6e92b5..0c5560991d 100644 --- a/Dangerfile +++ b/Dangerfile @@ -36,7 +36,7 @@ def upload_report return end - `tar -cf #{tar_filename} diff/` + `tar czf #{tar_filename} diff/` tar_size = (10 * File.size(tar_filename) / 1024 / 1024)/10.0 @logger.info "Uploading file #{tar_filename} (#{tar_size}mb) now..." report_url = `curl -u #{ENV['PMD_CI_CHUNK_TOKEN']} -T #{tar_filename} https://chunk.io`