Introduction

Adding SonarQube Server analysis to your Azure pipeline.

Before you begin, see Azure Pipelines integration overview.

Once you have created and set up your SonarQube Server project, see Creating and configuring your project and Setting up project integration, you can add the SonarQube Server analysis to your Azure build pipeline:

The Azure DevOps extension for SonarQube Server running in your Azure pipeline can automatically detect branches or pull requests being built. You don’t need to specifically pass them as parameters to the scanner but you should make sure you have set up the pull request integration in your project. See Setting up project integration for more information.

Once you have added the SonarQube Server analysis to your build pipeline, you can check the SonarQube Server Quality gate status in release pipeline.

If you want to decorate your pull request with a quality gate status and are not interested to have SonarQube Server annotations in your PR, see the Disable pull request annotations article.

Last updated

Was this helpful?