SonarQube not showing Coverage percentage

SonarQube not showing code coverage even though all phases complete successfully.

Stage - Unit test - Code covergae HTML Path: D:\Apps\CBJAgent\workspace\eature_ManageDetailedForecastAPI@2-CB2\Binaries\TestResults\100_COVERAGE.html

error:

09:12:22 Stage - Unit test - Code covergae HTML Path: D:\Apps\CBJAgent\workspace\eature_ManageDetailedForecastAPI@2-CB2\Binaries\TestResults\100_COVERAGE.html [Pipeline] fileExists

09:13:23 09:13:11.125 WARN: Could not find any coverage report file matching the pattern ‘D:\Apps\CBJAgent\workspace\eature_ManageDetailedForecastAPI@2-CB2\Binaries\TestResults\100_COVERAGE.html’. 09:13:23 09:13:11.125 DEBUG: Analyzing coverage after aggregate found ‘0’ coverage files. 09:13:23 09:13:11.125 DEBUG: The total number of file count statistics is ‘0’.

Coverage report is not generating

sonarqube version is 7.9.3

09:11:55 Stage - Unit test - codecoverage command:“D:\apps\Dotcover\JetBrains.dotCover.CommandLineTools.2017.1.20170428.83814\dotCover.exe”

09:12:22 [JetBrains dotCover] Coverage session finished with errors: The root module have to be already loaded or recovered here

It says HTML file exists , but its never generated in the folder mentioned.

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

7.9.3 → 8.9.8 → 9.5 (last step optional)

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes helpful. If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.