SonarQube Plugins
  1. SonarQube Plugins
  2. SONARPLUGINS-871

Groovy Plugin: Report path for sonar.groovy.gmetrics.reportPath property is not read correctly

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: GROOVY-0.2
    • Fix Version/s: GROOVY-0.3
    • Component/s: Groovy
    • Labels:
      None
    • Number of attachments :
      0

      Description

      I can define the property sonar.groovy.gmetrics.reportPath property in my pom.xml to point to an existing GMetrics XML results file. But the code to read the XML results file is not correct. The value of this property is used to get the project property.
      In the file GroovySensor.java at line 84:

      File gmetricsReport = getReport(project, gmetricsReportPath;

      should be:

      File gmetricsReport = getReport(project, GroovyPlugin.GMETRICS_REPORT_PATH);

        Activity

        Hide
        Evgeny Mandrikov added a comment -

        Done in r3182.

        Show
        Evgeny Mandrikov added a comment - Done in r3182 .

          People

          • Assignee:
            Evgeny Mandrikov
            Reporter:
            Hubert Klein Ikkink
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: