[ci] gzip regression report before uploading
This commit is contained in:
@ -36,7 +36,7 @@ def upload_report
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
`tar -cf #{tar_filename} diff/`
|
`tar czf #{tar_filename} diff/`
|
||||||
tar_size = (10 * File.size(tar_filename) / 1024 / 1024)/10.0
|
tar_size = (10 * File.size(tar_filename) / 1024 / 1024)/10.0
|
||||||
@logger.info "Uploading file #{tar_filename} (#{tar_size}mb) now..."
|
@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`
|
report_url = `curl -u #{ENV['PMD_CI_CHUNK_TOKEN']} -T #{tar_filename} https://chunk.io`
|
||||||
|
Reference in New Issue
Block a user