Sonarcloud dashboard shows "No Coverage Information" even after providing the lcov.info file

I am trying to analyze a javascript project and I used Jenkins to trigger the sonar scanner.

My sonar-project.properties file looks like this:

  sonar.host.url=*********************
  sonar.organization=*********************
  sonar.login=*********************
  sonar.projectKey=*********************
  sonar.projectName=*********************
  sonar.sources=src
  sonar.tests=src/controllers/test,src/models/test
  sonar.exclusions=src/controllers/test/**,src/models/test/
  sonar.coverage.exclusions=**/node_modules/**,test/
  sonar.javascript.lcov.reportPaths=lcov.info
  sonar.sourceEncoding=UTF-8

When the scanner runs, I can see in the logs that it tried to analyze the lcov.info file, here is the info from the logs

INFO: Sensor JavaScript analysis [javascript] (done) | time=3894ms
INFO: Sensor JavaScript/TypeScript Coverage [javascript]
INFO: Analysing [/home/jenkins/agent/workspace/changelogs/lcov.info]
INFO: Sensor JavaScript/TypeScript Coverage [javascript] (done) | time=19ms

The scanning is completed successfully although the sonarcloud dashboard will show “No Coverage Information”.

Hello Adam,

Welcome to the Community Support!

Does /home/jenkins/agent/workspace/changelogs/lcov.info contains something?

Best.