Uploaded image for project: 'SonarQube Plugins'
  1. SonarQube Plugins
  2. SONARPLUGINS-871

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

    Details

      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
        godin OLD - Evgeny Mandrikov added a comment -

        Done in r3182.

        Show
        godin OLD - Evgeny Mandrikov added a comment - Done in r3182 .

          People

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

            Dates

            • Created:
              Updated:
              Resolved: