-
Improvement
-
Resolution: Unresolved
-
Major
-
None
I'm using Jacoco to record code coverage in my builds. I'd love to be able to keep a long term trend chart to see how the coverage is increasing or decreasing over time. However, If I choose to keep say 30 builds but only the last build's artifacts, my jacoco/classes folder under all those builds still retains my compiled code for those 30 builds. In my case that folder is roughly 480Mb, so Jacoco is eating disk space like crazy.
I'd love the option for jacoco to keep N builds' worth of classes/sources (or honor my existing artifacts settings) but retain the entire history of execfiles for trend charts.
We don't really care that much about doing deep dives into old builds' coverage for specific classes/etc but do compare about seeing the trends and doing deep dives on the last N builds' data.
I have the exact use-case described here. I don't want to keep all of the Jacoco artifacts, but I do want to maintain a long-term coverage graph. I can't find a good way to do this without a slightly dangerous shell script. Having the option to remove Jacoco artifacts after publishing would be great.