-
Improvement
-
Resolution: Fixed
-
Minor
-
None
Changing
publishCoverage adapters: [coberturaAdapter('coverage.xml')], sourceFileResolver: sourceFiles('STORE_ALL_BUILD')
for
cobertura coberturaReportFile: 'coverage.xml'
makes the step take ~7 seconds instead of ~7 minutes.
I'm not going to pretend I understand the details. But the coverage report from "cobertura" does include the source files, so I don't understand why the big difference.
Seeing "publishCoverage" work it looks like it has "205 source files need to be copied" and it copies all of them, one after the other, very slowly. There doesn't seem to be any parallelization.