When using the post build step to publish JaCoCo coverage the plugin takes all files in the **/classes directory. Having jar files with large resource files leads to xxxGB of wasted space on the Jenkins server, because this is stored for every build job.
The plugin should only publish *.class files to the jobs\xxx\builds\123\jacoco\classes directory.
Code changed in jenkins User: Martin Heinzerling Path: src/main/java/hudson/plugins/jacoco/JacocoPublisher.java src/main/java/hudson/plugins/jacoco/JacocoReportDir.java src/test/java/hudson/plugins/jacoco/JacocoPublisherTest.java http://jenkins-ci.org/commit/jacoco-plugin/d771e0b15933516917208f30dd54bad81b1c290d Log: JENKINS-38604: limit copying of files to types *.java and *.class, improve logging