Uploaded image for project: '[MOVED TO GITHUB] SonarQube Scanner for MSBuild'
  1. [MOVED TO GITHUB] SonarQube Scanner for MSBuild
  2. SONARMSBRU-339

Scanner for MSBuild through VSTS extension no longer imports coveragexml

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1
    • Component/s: Coverage, TFS Build, VSO
    • Labels:
      None

      Description

      See https://github.com/SonarSource/sonar-csharp/issues/492.

      There is a regression in either the Scanner for MSBuild or the VSTS extension that cause code coverage file to not being automatically imported if the user doesn't specify the report path.

      Workaround
      Specify the following property in the Additional Settings of the VSTS SonarQube Begin task:
      /d:sonar.cs.vscoveragexml.reportsPaths=**/*.coveragexml

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                valeri.hristov Valeri Hristov (Inactive)
                Reporter:
                amaury.leve Amaury Levé (Inactive)
              • Votes:
                8 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: