It would be nice to heva an option to compress archived artifacts into zip file in Archive the artifacts post-build action. Proposed patch for this feature is in attachment.

          [JENKINS-6229] Compress archived artifacts

          vjuranek added a comment -

          ops, wrong patch file,sorry. Attaching new one (ArtifactArchiverZip_II.patch)

          vjuranek added a comment - ops, wrong patch file,sorry. Attaching new one (ArtifactArchiverZip_II.patch)

          Ulli Hafner added a comment -

          Wrong component.

          Ulli Hafner added a comment - Wrong component.

          I have a concern about this feature. In my mind, as this doesn't pass the "is this feature worth another configuration?" test.

          That is, you can just as well do this by adding a separate shell script step that creates a zip file, and archive it. The patch chooses somewhat arbitrary zip file name, too. If the goal is to save the storage space on the server, we should be able to handle this transparently from the users.

          So I have to ask, what is the motivation for this feature?

          Kohsuke Kawaguchi added a comment - I have a concern about this feature. In my mind, as this doesn't pass the "is this feature worth another configuration?" test. That is, you can just as well do this by adding a separate shell script step that creates a zip file, and archive it. The patch chooses somewhat arbitrary zip file name, too. If the goal is to save the storage space on the server, we should be able to handle this transparently from the users. So I have to ask, what is the motivation for this feature?

          vjuranek added a comment -

          It's for user convenience. One click is more simple can adding another step and writing one line script for compression. As for request the users to do the compression themselves - our experience is that most of the users just ignore it if they have to do it themselves.

          vjuranek added a comment - It's for user convenience. One click is more simple can adding another step and writing one line script for compression. As for request the users to do the compression themselves - our experience is that most of the users just ignore it if they have to do it themselves.

          mdonohue added a comment -

          If this is for convenience, I think it could be written as a plugin, instead of a modification of core, and then no extra UI elements would be created unless the Hudson admin wants this feature.

          mdonohue added a comment - If this is for convenience, I think it could be written as a plugin, instead of a modification of core, and then no extra UI elements would be created unless the Hudson admin wants this feature.

          Andrew Bayer added a comment -

          Strongly agreed - I don't think we should be doing this in core.

          Andrew Bayer added a comment - Strongly agreed - I don't think we should be doing this in core.

          vjuranek added a comment -

          OK, closing the issue. I'll think to rewrite it as a plug-in. Thanks for comments.

          vjuranek added a comment - OK, closing the issue. I'll think to rewrite it as a plug-in. Thanks for comments.

          Jesse Glick added a comment -

          Simply archiving a ZIP file instead of the original artifacts is a bad idea, since then you cannot access those artifacts usefully later on. Need integration with JENKINS-17236.

          Jesse Glick added a comment - Simply archiving a ZIP file instead of the original artifacts is a bad idea, since then you cannot access those artifacts usefully later on. Need integration with JENKINS-17236 .

          Jesse Glick added a comment -

          Ready to release a 1.0, as soon as 1.532 is released.

          Jesse Glick added a comment - Ready to release a 1.0, as soon as 1.532 is released.

          Jesse Glick added a comment -

          Version 1.0 released.

          Jesse Glick added a comment - Version 1.0 released.

            jglick Jesse Glick
            vjuranek vjuranek
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: