Skip to end of metadata
Go to start of metadata

Keeps build artifacts compressed to save disk space on the master.

Plugin Information

View Compress Artifacts on the plugin site for more information.

Adds an option to compress build artifacts (currently in a ZIP file only) when stored on the master. To use, you must request this option in the Jenkins global configuration screen (Artifact Management for Builds section).

Artifacts produced before the plugin was installed/configured will not be compressed, though it will be served correctly.

Compatibility issues

Some other plugins do not yet support nonstandard artifact storage. In particular, Copy Artifact will be broken. (JENKINS-22637)

Changelog

Version 1.7

Version 1.5

  • Unable to compress artifacts with non-IBM437 characters in filename. Regression introduced in 1.4. (JENKINS-27522)

Version 1.4

  • java.util.zip.ZipException thrown when reading artifacts from archive larger than 4G. (JENKINS-27042)

Stability issues

Before this version, plugin is not able to serve artifacts when archive exceeds 4G in size, it leads to JVM crashes on java 6. (JENKINS-27042)

Version 1.3

  • Avoid ZipException thrown when accessing artifiacts while archiving. 4720879

Version 1.2

  • Handle special characters in artifact filename correctly. JENKINS-26858

Version 1.1

  • Supporting “download artifacts as ZIP”.

Version 1.0

  • Initial version. See JENKINS-6229 for background. Not yet implemented: adding artifacts in multiple rounds; downloading ZIPs of artifacts.

4 Comments

  1. A feature I missed, but when you use the plugin you cannot use artifact dependencies anymore. If this would be possible the plugin would be great!

  2. On windows why does the resulting file end up as zip (no file extention)? As well is there an option to force it to zip the artifacts in a flat directory structure?

  3. This plugin invalidates the manager.build.getArtifactDir() groovy call in Jenkins.

  4. The only message this plugin outputs is: "Archiving artifacts". It's impossible to debug.
    Additional message like "Archiving artifacts failed. Reason: ..." and "Archiving artifacts finished successfully. Output file name: C:\Path\To\file.zip" would be VERY useful
    I haven't coded in JAVA for ears, but I guess it wouldn't be very hard to implement?