Setting up the integration of your project with Azure DevOps
Once your Azure DevOps organization has been imported to SonarQube Cloud, you can create your SonarQube Cloud project by importing your Azure DevOps repository. The so-created SonarQube Cloud project is bound to its Azure DevOps repository.
With a bound project, various analysis reporting features are supported in Azure DevOps. This page explains how to set them up.
Reporting the quality gate status and analysis metrics to your pull requests in Azure DevOps
For a bound project, the quality gate status and analysis metrics are reported to your pull requests in Azure DevOps. No additional setup is necessary.
Preventing the pull request merge if the quality gate fails
The setup of this feature depends on your CI tool. See:
Reporting issues on a pull request in Azure DevOps
For a bound project, the issues detected on a pull request are reported in Azure DevOps. Each issue will be a comment on the Azure DevOps pull request. No additional setup is necessary.
The number of comments posted in the timeline of a pull request is limited to 50.
If this limit has been reached, a message will be displayed as a comment, with a link to the rest of the issues on SonarQube Cloud. This comment will not disappear upon resolution of an issue, but only upon a new build, with less than 50 issues remaining.
Related pages
- Getting started with Azure DevOps
- Importing an Azure DevOps organization
- Creating your project
- Adding SonarQube analysis to your Azure pipeline
- Setting project permissions and visibility
- Changing project binding and other parameters
- Customizing the Project Information page
- Deleting your project
- Importing an Azure DevOps organization
- Viewing and managing issues in Azure DevOps
Was this page helpful?