SonarQube C#
  1. SonarQube C#
  2. SONARCS-140

Coverage report is looked relative to the working directory instead of relative to the pom.xml

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      When sonar is launched with maven but from another folder than the pom (like this mvn -f Subdirectory/pom.xml sonar:sonar)

      The coverage report is produced in the correct folder (Subdirectory/target/sonar/coverage-report.xml) but the CoverageReportSensor is looking for it in target/sonar/coverage-report.xml.

        Activity

        Hide
        Michel Rasschaert added a comment -

        I think there is something fishy going on here

        Show
        Michel Rasschaert added a comment - I think there is something fishy going on here
        Hide
        Alexandre Victoor added a comment -

        fixed

        Show
        Alexandre Victoor added a comment - fixed
        Hide
        Fabrice Bellingard added a comment -

        Tested.

        Show
        Fabrice Bellingard added a comment - Tested.

          People

          • Assignee:
            Alexandre Victoor
            Reporter:
            Anonymous
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: