Latest | DevOps platform integration | Azure DevOps integration | Adding analysis to Azure pipeline | Monorepo projects
Adding analysis to your Azure build pipeline for a monorepo
On this page
Starting in Enterprise Edition, you can add the SonarQube Server analysis to your Azure build pipeline for a monorepo.
Proceed as follows:
- If not already done, import your monorepo to create the corresponding projects in SonarQube Server: see Managing the projects in a monorepo.
- For each project, configure the analysis parameters, see Configuring the project analysis parameters in Creating and configuring your project.
- For each project, set up integration features, see Setting up Azure DevOps integration at the project level.
- Add the SonarQube Server analysis to your YAML pipeline. To do so, see the section corresponding to your project type and use the YAML file example below:
Typical YAML file example for a monorepo analysis
- Adding the analysis for a Gradle or Maven project
- Adding the analysis for a .NET project
- Adding the analysis for a C family project
- Adding analysis for a JS, TS, GO, Python, PHP or other project
- Using various features when adding the analysis to your pipeline
- Checking the SonarQube quality gate status in your Azure release pipeline
- SonarQube tasks for Azure Pipelines
Was this page helpful?