Setting up project integration
This helps you define the project-level settings required for Azure DevOps or Azure Pipelines when setting up a SonarQube project analysis.
Last updated
Was this helpful?
This helps you define the project-level settings required for Azure DevOps or Azure Pipelines when setting up a SonarQube project analysis.
Service connections are authenticated connections between Azure Pipelines and external or remote services. You must declare your SonarQube Community Build as a service connection in your Azure DevOps project.
Proceed as follows:
In SonarQube Community Build, create an authentication token that will be used by Azure DevOps to execute the analysis of your project in SonarQube Community Build. To do so, create a Project analysis token for your project and copy it (you may also use a Global analysis token, but it’s not recommended). For more information, see Managing your tokens.
In your Azure DevOps project, go to Project Settings > Service connections.
Select New service connection and then select SonarQube Server from the service connection list.

Enter your SonarQube Community Build URL, the token created in the first step, and a memorable Service connection name (You will need this name when configuring your Azure build pipelines). Then, select Save to save your connection.

Last updated
Was this helpful?
Was this helpful?

