SonarQube Community Build | DevOps platform integration | Azure DevOps integration | Setting up integration for your project
Setting up feature integration with Azure DevOps for your project
This page explains how to add SonarQube Community Build connection (This is necessary if you use Azure Pipelines.).
Adding SonarQube Community Build service connection to Azure Pipelines (SonarQube Community Build endpoint)
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 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.
Related pages
Was this page helpful?