Get/list Codecoverage in the WebApi

sonarqube

(Oddvar Tengesdal) #1

Hello, I want to be able to get the code coverage for project, and branches. For now it’s only possible to get:

  • qualityGateStatus
  • bugs
  • vulnerabilities
  • codeSmells

According to the web_api documentation. Maybe this will be implemented in: https://jira.sonarsource.com/browse/MMF-1369 ?

In more detail we would like to include it into: https://github.com/AmadeusITGroup/sonar-stash plugin we are already running.


(Colin Mueller) #2

As of 7.4, Coverage information should be available through the Web API for branches.


(Oddvar Tengesdal) #3

@ColinHMueller tested against the WEB API: GET api/project_branches/list , but there is no CodeCoverage returned.