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.