Uploaded image for project: '[MOVED TO GITHUB] SonarJS'
  1. [MOVED TO GITHUB] SonarJS
  2. SONARJS-800

Add property "sonar.javascript.lcov.reportPaths" which accepts many coverage reports (SQ>=6.2)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.19
    • Component/s: Coverage
    • Labels:
      None

      Description

      Since SonarQube 6.2, the concept of coverage type (unit/IT/overall) was dropped. Instead a Sensor can save multiple coverage reports (with no specific type) per file.
      As a result, the JavaScript plugin should be updated. When the runtime is SonarQube 6.2+:

      • log a warning when property sonar.javascript.lcov.itReportPath is used
      • deprecate sonar.javascript.lcov.reportPath and introduce sonar.javascript.lcov.reportPaths to accept a comma separated list of coverage reports

      Behavior

      The behavior should be

        6.1- 6.2+
      reportPath & itReportPath honor honor & print deprecation notice
      reportPaths ignore; no coverage honor

      Note that "honor" behavior is specified for SQ versions 6.1 and lower to not break backward compatibility with the LTS version.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                elena.vilchik Elena Vilchik
                Reporter:
                julien.henry Julien Henry
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: