# Adding analysis to your Azure pipeline

{% hint style="info" %}
The Azure DevOps Extension for SonarQube Server must be installed in your Azure DevOps organization: see [Azure DevOps Extension](/sonarqube-server/2026.2/analyzing-source-code/scanners/sonarqube-extension-for-azure-devops.md).
{% endhint %}

1. Before you begin, see [About Azure Pipelines integration](/sonarqube-server/2026.2/analyzing-source-code/ci-integration/azure-pipelines/integration-overview.md).
2. Create your SonarQube Server project, see [Importing your Azure DevOps repository](/sonarqube-server/2026.2/project-administration/creating-project/azure-devops/import-repos.md).
3. Set up your project integration with Azure Pipelines. See [Setting up Azure integration for your project](/sonarqube-server/2026.2/project-administration/creating-project/azure-devops/setting-up-project-integration.md).
4. Add the SonarQube Server analysis to your Azure build pipeline:
   * [Gradle or Maven project with Azure Pipelines](/sonarqube-server/2026.2/analyzing-source-code/ci-integration/azure-pipelines/gradle-or-maven-project.md)
   * [.NET project with Azure Pipelines](/sonarqube-server/2026.2/analyzing-source-code/ci-integration/azure-pipelines/dotnet-project.md)
   * [C family project with Azure Pipelines](/sonarqube-server/2026.2/analyzing-source-code/ci-integration/azure-pipelines/c-family-project.md)
   * [JS, TS, Go, Python, PHP, etc. project with Azure Pipelines](/sonarqube-server/2026.2/analyzing-source-code/ci-integration/azure-pipelines/js-ts-go-python-php.md)
   * [Monorepo projects with Azure Pipelines](/sonarqube-server/2026.2/analyzing-source-code/ci-integration/azure-pipelines/monorepo-projects.md)
5. Once you have added the SonarQube Server analysis to your build pipeline, you can check the SonarQube Server [Quality gate status in release pipeline](/sonarqube-server/2026.2/analyzing-source-code/ci-integration/azure-pipelines/quality-gate-status-in-release-pipeline.md).
6. 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 [Setting up Azure integration for your project](/sonarqube-server/2026.2/project-administration/creating-project/azure-devops/setting-up-project-integration.md#disable-pull-request-annotations) article.

{% hint style="info" %}
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 Azure integration for your project](/sonarqube-server/2026.2/project-administration/creating-project/azure-devops/setting-up-project-integration.md) for more information.
{% endhint %}

## Related pages <a href="#related-pages" id="related-pages"></a>

* [About Azure Pipelines integration](/sonarqube-server/2026.2/analyzing-source-code/ci-integration/azure-pipelines/integration-overview.md)
* [Binding to Azure DevOps](/sonarqube-server/2026.2/instance-administration/devops-platforms/azure-devops.md)
* [Importing your Azure DevOps repository](/sonarqube-server/2026.2/project-administration/creating-project/azure-devops/import-repos.md)
* [Setting up Azure integration for your project](/sonarqube-server/2026.2/project-administration/creating-project/azure-devops/setting-up-project-integration.md)
* [Troubleshooting analysis with Azure](/sonarqube-server/2026.2/analyzing-source-code/ci-integration/azure-pipelines/troubleshooting-analysis.md)

## Related online learning

* <i class="fa-desktop">:desktop:</i> [Configuring code analysis for SonarQube Server with Azure Pipelines](https://www.sonarsource.com/learn/course/sonarqube-server/c4a63806-1807-43c4-bd54-51275a28486a/configuring-code-analysis-for-sonarqube-server-with-azure-pipelines)
* <i class="fa-desktop">:desktop:</i> [Configuring pull request decoration for SonarQube Server using Azure DevOps](https://www.sonarsource.com/learn/course/sonarqube-server/6ab84273-0146-466b-ae2b-476906dc5585/configuring-pull-request-decoration-for-sonarqube-server-using-azure-devops)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sonarsource.com/sonarqube-server/2026.2/analyzing-source-code/ci-integration/azure-pipelines/introduction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
