Zip old builds in the Jenkins plugin

Is there any Jenkins plugin for ZIP archives? I do not want to pack only the generated archive (I delete them). I want ZIP to only log data and data used by tools like FindBugs, Checkstyle, Surefire, Cobertura, etc.

I'm currently running out of disk space thanks to Jenkins. There are several build log files that reach 50 MB due to the launch of more than 3,000 unit tests (most of them are severely broken builds full of stacks in which everything fails). But this often happens in some of my projects, so I get this for every bad build. Good builds are softer and can reach up to 15 MB, but it's still a bit expensive.

The surefile files for XML are also huge. Since they usually contain very duplicate data, I could save a lot of disk space by fixing them. But I do not know the Jenkins plugin for this.

Note. I am already deleting old builds that are no longer needed.

+4
source share
2 answers

The Compress Buildlog plugin does pretty much what you ask for for the magazines themselves. https://github.com/daniel-beck/compress-buildlog-plugin

For everything else, you probably need an unconditional step after the build is completed, which manually applies compression to the other generated files that will stick.

+2
source

administering the Jenkins manual gives some recommendations on how to do this manually. There are also links to the following plugins

The last one is really intended for backing up Jenkins configuration, but there are also options for creating results.

+2
source

Source: https://habr.com/ru/post/1495050/


All Articles