Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-64856

The cobertura is way faster than publishCoverage copying source files

XMLWordPrintable

      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.

            Unassigned Unassigned
            reddwarf94 Cristian
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: