email-ext: check for attachment size does not consider compression

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      We are attaching build log to the mail in Jenkins pipeline, and are setting both "attachLog" and "compressLog" options to true. The build logs say "Skipping build log attachment -  too large for maximum attachments size".

      When downloading the logs manually, these are about 40 MB in size (uncompressed) and less than 3 MB compressed. The "Maximum Attachment Size" is set to 16 MB on global setting page, so the compressed log should pass in any case.

      It seem the plugin is comparing size of uncompressed logs with the given limit, which is not what I would expect.

            Assignee:
            David van Laatum
            Reporter:
            Christoph Amshoff
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: