Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-419

Allow generating full coverage results with Jacoco and Sonar

    XMLWordPrintable

Details

    • N/A

    Description

      The strategy is the following:

      • Have a jenkins job that will execute: mvn clean install -Pcoverage. This will run unit tests and aggregate all test results in a global coverage file that Sonar will use to display IT coverage
      • Configure that Jenkins job with a post build step to run Sonar. This will run the unit tests and allow to also display unit test coverage in Sonar.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: