SonarQube showing code coverage report with zero percentage

Please provide

  • Operating system: Windows 11
  • Visual Studio version: Visual studio 2019
  • SonarLint plugin version: No
  • Programming language you’re coding in: C#
  • Is connected mode used: Yes
    • Connected to SonarCloud or SonarQube (and which version): 9.1

And a thorough description of the problem / question:
SonarQube showing code coverage report with zero percentage.
image (5)

After Jenkins jobs are successful we are getting the report with 0% coverage.

Hi,

Welcome to the community!

Your version is past EOL. You should upgrade to either the latest version or the current LTA (long-term active version) at your earliest convenience. Your upgrade path is:

9.1 → 9.9.4 → 10.5.1 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

Once you’ve upgraded, the docs should get you going with coverage.

 
HTH,
Ann

Hi ganncamp

  1. Currently we are using SonarQube 9.1 version. I think we purchase the license for the 9.1 Developer Edition version. If we update to 9.9 or 10.5, will it work without any issue or again, do we need to buy the license for 9.9 or 10.5.
  2. Do you Know because of the 9.1 EOL version is the reason for this 0% code coverage issue? Please reply asap.

Hi,

Your license is for an edition, not a version. We wouldn’t do anything to discourage you from upgrading because we want you to keep up with active versions and get the benefit of the latest features.

You can freely upgrade and your license will still support it.

 
HTH,
Ann

Hi,

Please see also my reply to your apparent colleague:

 
Ann