Hi Team,
We using javascript project in sonarqube version 6.7.7. Coverage is showing 0% after analysis.
Properties used:
sonar.sources=.
sonar.language=js
sonar.exclusions=test/, node_modules/
sonar.dynamicAnalysis=reuseReports
sonar.javascript.jstest.reportsPath=coverage
sonar.javascript.lcov.reportPaths=coverage/lcov-report
Error/warning in logs:
WARN: No coverage information will be saved because LCOV file cannot be found.
INFO: 211/211 source files have been analyzed
WARN: Provided LCOV file path: coverage/lcov-report. Seek file with path: /builds/pearsontechnology/gpt/etext/service/redding-api/coverage/lcov-report
WARN: No coverage information will be saved because all LCOV files cannot be found.
INFO: Sensor SonarJS Coverage [javascript] (done) | time=2ms
Log file attached. Please help us on this,
Job_build_log_4.txt (106.9 KB) Thanks,
Nagaarjun.