Not able to see code coverage in New code in node.js apps

  • how is SonarQube deployed: Docker
    For nod.js app in local I can see the code coverage but when I push to sonarcube UI not able to see the coverage and new code is empty.
    Please help me how to resolve this

Hi,

Welcome to the community!

You need to pass the coverage report into analysis. The docs should get you started.

 
HTH,
Ann

Hi Ann,

We are passing coverage.xml file, and 1 year before when we pushed for the first time we are able to see the coverage in sonarqube UI but now we pushed some changes and not able to see the coverage in UI

Hi,

What changed between then and now? :smiley:

Perhaps you can share your analysis logs?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.

 
Ann