Azure Devops-Sonarcloud CodeCoverage No show results

I’m trying to show the codecoverage result in SonarQube for my projects. I have created pipelines in azure devops, and there is only one warning in task #[warning]No coverage data found. Check the build errors/warnings for more details.

below task is what we used for Code coverage results

  • task: PublishCodeCoverageResults@1


    codeCoverageTool: 'Cobertura'
    summaryFileLocation: '/home/vsts/work/1/s/Source/UI/coverage/clover.xml'

Quick response and assistance is highly appreciated.


In order to see code coverage data, you need to tell the analyzer the location of the coverage report files. This is documented on our Test Coverage and Execution page.

A common way to debug configuration issue with coverage is to verify the output of the build.

  • You should see messages about parsing the coverage report. If you don’t see, then the report was not processed, and you will not see coverage data reported.
  • If something’s wrong with the content of the report, you should see warnings and errors about what’s happening, that give you clues how to resolve it.

I hope the above tips will get you further. If you get stuck, make sure to share how you configured the analysis (and the report file locations), and any relevant output (with private content masked).