SonarQube Plugins
  1. SonarQube Plugins
  2. SONARPLUGINS-872

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

    Details

    • Number of attachments :
      0

      Description

      I can define the property sonar.groovy.codenarc.reportPath property in my pom.xml to point to an existing CodeNarc 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 110:

      File codeNarcReport = getReport(project, codeNarcReportPath;

      should be:

      File codeNarcReport = getReport(project, GroovyPlugin.CODENARC_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: