Unable to see code code coverage while using sonar from jenkins pipeline

Hi @soumya1

  • what code coverage tool are you using?
  • what is the version of Scanner for MSBuild you are using?
  • are you still on SQ 8.1? it’s not a supported version, and we’ve improved our coverage logging in the newer versions.
  • are you running all commands from the same folder?
  • could you please share the the verbose output of the END command (please run SonarScanner.MSBuild.exe begin /k:“MyProject” /d:sonar.verbose=true as the BEGIN step, and please attach the output of END step)

Also, before replying, please read the new [Coverage] Troubleshooting guide for .NET code coverage import guide we have. It will make this conversation much more efficient.

Thanks,
Andrei

1 Like