I am running a Jenkin's job to run the test cases with Mocha
and to run sonar-scanner
on a project with AngularJS and Node. In SonarQube, I am not getting the coverage result but I am getting the other results. And I have included lcov.info
file path as well. And below are the properties and the values that I have given to Sonar.
sonar.projectKey=my:project
sonar.projectName=my
sonar.projectVersion=1.0
sonar.sources=lib
sonar.tests=test
sonar.language=js
sonar.javascript.lcov.reportPaths=coverage/lcov.info
Can anyone please help me to find a solution for this?