Azure DevOps
With a bound project, SonarQube Cloud offers numerous analysis reporting features that are supported in Azure DevOps. This page explains how to set them up.
Once your Azure DevOps organization has been imported to SonarQube Cloud, you can create and set up your project by importing your Azure DevOps repository. The created SonarQube Cloud project is bound to its Azure DevOps repository, see Binding with the DevOps platform for more details. To bind an unbound project, see Binding an unbound project to a repository.
Setting up pull request integration with Azure DevOps
With a bound project, SonarQube Cloud can:
Report the quality gate status and analysis metrics to your pull requests in Azure DevOps.
Show issues detected on a pull request in Azure DevOps. Each issue will be a comment on the Azure DevOps pull request. If you change the status of an issue in SonarQube Cloud, that status change is immediately reflected in the Azure DevOps interface.
To set up the pull request analysis:
See Prerequisites for CI-based analysis for more information.
Enable the pull request analysis on the target branch: see below.
If you don't use an integrated CI tool like Azure Pipelines, you must set up the pull request parameters manually. See Pull request analysis for more details.
You can prevent the pull request merge if the quality gate fails: see below.
Related pages
Last updated
Was this helpful?