Unable to view coverage report for Nodejs project in sonarcloud

  • ALM used (Bitbucket Cloud)
  • CI system used (Bitbucket Cloud)
  • Scanner command used when applicable: sonarscanner pipe available in bitbucket pipeline
  • Languages of the repository: NodeJs

We are using sonarscanner pipe with NodeJs repo in Bitbucket pipeline.
We are able to see the scan timestamp updated in sonar cloud dashboard but the coverage % is not reflected.
We are using Jest for testing the code and used jest-scan-reporter to send the reports to sonarcloud.
This setup is neither working from local nor from bitbucket pipeline.

When using the pipe or when running the scanner locally, do you pass the sonar.testExecutionReportPaths property? If you do, and it doesn’t work, can you please share:

  1. The complete configuration of the scanner pipe (especially including the EXTRA_ARGS variable)
  2. The complete command line when running the scanner locally