Sonarcube code coverage for nodejs

Server - sonarqube 8.2
Code - NodeJS
Issue - code coverage shows 0.0%

Here’s the current config which works fine BUT without coverage

sonar.projectName=xx
sonar.projectKey=xx
sonar.projectVersion=1.0
sonar.login=xx
sonar.password=xx
sonar.language=js
sonar.sources=/var/lib/jenkins/workspace/$JOB_NAME
sonar.sourceEncoding=UTF-8

sonar.exclusions=
sonar.tests.inclusions=
sonar.tests=
sonar.javascript.lcov.reportPaths=

Can someone pls guide what parameters should I use in the last four lines

Also, the need to export the report.

It’s a little urgent so appreciate the quick help.

Thanks in Advance.

Hello @sandeep_kumar2,

As you can read on our Test Coverage & Execution:

SonarSource analyzers do not run your tests or generate reports. They only import pre-generated reports

SonarQube won’t generate any report, it has to be generated prior the analysis, and passed using the parameter you mentioned: sonar.javascript.lcov.reportPaths.
Other parameters are explained in our Narrowing the focus page, but you don’t necessarily need them.

Cheers