diff --git a/lib/dialoga_plugin/report_job.rb b/lib/dialoga_plugin/report_job.rb index 9f72aac..5960d7b 100644 --- a/lib/dialoga_plugin/report_job.rb +++ b/lib/dialoga_plugin/report_job.rb @@ -16,8 +16,8 @@ class DialogaPlugin::ReportJob < Struct.new(:profile_id, :report_path) end def compress_files(filename, pattern) - filepath = "/tmp/#{report_path}/#{filename}.tar.gz" - system("cd /tmp/#{report_path} && tar -zcvf #{filepath} #{pattern}") + filepath = "/tmp/#{report_path}/#{filename}.zip" + system("cd /tmp/#{report_path} && zip #{filepath} #{pattern}") filepath end -- libgit2 0.21.2