# Azure DevOps Integration

**URL:** <https://community.sonarsource.com/t/azure-devops-integration/43708>\
**Category:** SonarQube Server / Community Build\
**Tags:** dotnet, coverage\
**Created:** [May 24, 2021, 6:51pm UTC](https://community.sonarsource.com/t/azure-devops-integration/43708 "2021-05-24T18:51:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashish\_gupta](https://avatars.discourse-cdn.com/v4/letter/a/eb9ed0/32.png) [@ashish\_gupta](https://community.sonarsource.com/u/ashish_gupta)\
**Post date:** [May 24, 2021, 6:51pm UTC](https://community.sonarsource.com/t/azure-devops-integration/43708/1 "2021-05-24T18:51:33Z")

</div>

Must-share information (formatted with [Markdown](https://commonmark.org/help/)):

- I am integrating SonarQube in Azure DevOps pipeline ([https://dev.azure.com](https://dev.azure.com))
- I have integrated successfully and able to see values for Bugs, Vulnerabilities, Code Smells, etc but unable to see value for Coverage (Coverage shows as 0.0%)
- I have below code in my yml file (Note: develop is my default branch, and I use free/community version)

- task: SonarQubePrepare@4  
inputs:  
SonarQube: “${{ parameters.SCSonarQube}}”  
scannerMode: “MSBuild”  
projectKey: “$(System.TeamProject)-$(Build.DefinitionName)”  
condition: eq(variables[‘build.sourceBranch’], ‘refs/heads/develop’)

- task: SonarQubeAnalyze@4  
displayName: “Run Code Analysis”  
condition: and(succeeded(), eq(variables[‘build.sourceBranch’], ‘refs/heads/develop’))

---

<div class="post-metadata">

**Author:** ![Aaron\_Montana1](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/aaron_montana1/32/18738_2.png) [@Aaron\_Montana1](https://community.sonarsource.com/u/Aaron_Montana1)\
**Post date:** [June 3, 2021, 6:42pm UTC](https://community.sonarsource.com/t/azure-devops-integration/43708/2 "2021-06-03T18:42:08Z")

</div>

Howdy Ashish,

Welcome to the community!

You didn’t mention which coverage frameworks you are using, but go ahead and take a look available supported ones here:  
[https://docs.sonarqube.org/latest/analysis/coverage/](https://docs.sonarqube.org/latest/analysis/coverage/)

These report paths should be included in your SonarQubePrepare@4 task. Try that out and let me know if it fixes the issue.

thanks,  
Aaron
