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

Analyze JaCoCo's xml report instead of exec-files

    Details

    • Similar Issues:

      Description

      There are some benefits on using xml reports instead of exec-files

      1. no dependency of jacoco.jar needed, so reports will be always actual no matter what jacoco version created them (currently reports created by newer version of jacoco do not take any effect because jacoco-plugin's dependency is older);
      2. xml report contains all the information needed not to lose in the functionality of the plugin; report contains class, package, method coverage and their name - everything that is necessary for the plugin to work;
      3. in case of xml report - this report can be generated by the build tool or even by the jacoco's cli giving user more flexibility in configuring his build pipeline
      4. xml reports from any other coverage tools (scoverage, cobertura, etc.) can be easily converted into jacoco's xml format and get all the benefits of this plugin (reporting, dashboard views, etc.)

        Attachments

          Activity

          Hide
          centic centic added a comment -

          There has been some discussion on this before, but unfortunately nobody took the task of actually working on it so it will likely not happen until someone invest the necessary time to contribute and maintain such a feature (ideally as non-default option first to not break all existing installations).

          Show
          centic centic added a comment - There has been some discussion on this before, but unfortunately nobody took the task of actually working on it so it will likely not happen until someone invest the necessary time to contribute and maintain such a feature (ideally as non-default option first to not break all existing installations).

            People

            • Assignee:
              ognjenb Ognjen Bubalo
              Reporter:
              szhem Sergey Zhemzhitsky
            • Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: