Code coverage and unit test cases showing 0%

Jenkins version 2.107.1

SonarQube version

SonarScanner for MSBuild 4.7.1

Using the .NET Core version of the Scanner for MSBuild

msbuild version '15.0


NuGet Config files used:

Java SDK version 1.8.0.

TargetFrameworkVersion: v10.0

Android Platform API level: 29

below is the command that i used to collect the code coverage from jenkins freestyle job
dotnet test $WORKSPACE/IDAMobileApp.Tests/IDAMobileApp.Tests.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=opencover


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:

6.7.6 → 7.9.6 → 8.9.9 → 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.

Hi colin,
Thanks for the reply.

can’t i see the code coverage report with my existing version…

it won’t work for this version