SonarCloud: Not publishing the coverage info for nodejs

Hi,

We are using the below setting in our AzureDevOps yml as part of task: SonarCloudPrepare@1
Though the below extraProperties is mentioned, we are not seeing the coverage in SonarCloud
sonar.javascript.lcov.reportPaths= **/coverage/lcov.info

Kindly help,
Ravi V.

Hey there.

Wildcards currently can’t be used when specifying a coverage report for this parameter (see SonarSource/SonarJS #578. You’ll need to specify the individual paths to your report(s).

Sure, thanks, I will check and respond. This is interesting though as it works absolutely fine in my other repo in python
sonar.python.coverage.reportPaths= **/coverage.xml

Thanks Colin. It is working great after removing the wildcards and giving the complete path. Thank you very much.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.