Start Free
Latest | DevOps platform integration | Azure DevOps integration | Creating and configuring your project

Creating and configuring your SonarQube Server project

On this page

Once the global-level integration with Azure DevOps is complete, you can create your SonarQube Server project by importing your Azure DevOps repository. You can also create it manually but you won’t benefit from the integration features.

Importing your Azure DevOps repository

To import your repository, you need the Create Project permission in SonarQube Server. 

The so-created SonarQube Server project is “bound” to its Azure DevOps repository. With a bound project:

  • You can see in the SonarQube Server UI with which repository the project is associated.
  • You benefit from pull request integration features.

To import an Azure DevOps repository into SonarQube Server:

  1. In the top navigation bar of SonarQube Server, select the Projects tab.
  2. In the top right corner, select the Create Project > From Azure DevOps button.
  3. If your instance has multiple Azure DevOps Integrations, select the Azure DevOps configuration from which you want to import your project. 
  4. Select the repository to be imported.

Importing a monorepo

Starting in Enterprise Edition, you can import an Azure DevOps monorepo. See Managing the projects of a monorepo.

Creating your SonarQube Server project manually

You need the Create Project permission in SonarQube Server.

Proceed as follows: 

  1. In the top navigation bar of SonarQube Server, select the Projects tab.
  2. In the top right corner, select the Create Project > Local Project button.

Configuring the project analysis parameters

You can configure analysis parameters at different levels:

  • In your build environment if you have a Maven, Gradle, or .NET project.
  • In the sonar-project.properties file.
  • In SonarQube Server UI.
  • At the Azure pipeline level.
    Parameters set at the pipeline level have precedence over parameters set at other levels. 

For general information on setting up analysis parameters at the global and project levels, see Analysis parameters and the respective SonarScanner section: Maven, Gradle, .NET, or CLI.


Was this page helpful?

© 2008-2025 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARQUBE, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License