From 73176b7b65492dbb6e7be2404733fbae22584895 Mon Sep 17 00:00:00 2001 From: Philippe Perrin Date: Thu, 11 Feb 2021 12:47:34 +0100 Subject: [PATCH] DOCS Fix Azure DevOps Integration page --- .../src/pages/analysis/azuredevops-integration.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server/sonar-docs/src/pages/analysis/azuredevops-integration.md b/server/sonar-docs/src/pages/analysis/azuredevops-integration.md index 7b5fb5550e6..731b5c4d995 100644 --- a/server/sonar-docs/src/pages/analysis/azuredevops-integration.md +++ b/server/sonar-docs/src/pages/analysis/azuredevops-integration.md @@ -96,6 +96,7 @@ Select your build technology below to expand the instructions for configuring br | - master | - feature/* | +| steps: | # Prepare Analysis Configuration task | - task: SonarQubePrepare@4 | inputs: @@ -136,6 +137,7 @@ Select your build technology below to expand the instructions for configuring br | - master | - feature/* | +| steps: | # Prepare Analysis Configuration task | - task: SonarQubePrepare@4 | inputs: @@ -153,7 +155,7 @@ Select your build technology below to expand the instructions for configuring br | ## Other (JavaScript, TypeScript, Go, Python, PHP, etc.) | 1. In Azure DevOps, create or edit a **Build Pipeline**, and add a new **Prepare Analysis Configuration** task _before_ your build task: | - Select the SonarQube server endpoint you created in the **Adding a new SonarQube Service Endpoint** section. -| - Under **Choose a way to run the analysis**, select **Integrate with MSBuild**. +| - Under **Choose a way to run the analysis**, select **Use standalone scanner**. | - Select the **Manually provide configuration** mode. | - In the **project key** field, enter your project key. | 1. Add a new **Run Code Analysis** task _after_ your build task. @@ -167,12 +169,14 @@ Select your build technology below to expand the instructions for configuring br | - master | - feature/* | +| steps: | # Prepare Analysis Configuration task | - task: SonarQubePrepare@4 | inputs: | SonarQube: 'YourSonarqubeServerEndpoint' | scannerMode: 'CLI' | configMode: 'manual' +| cliProjectKey: 'YourProjectKey' | | # Run Code Analysis task | - task: SonarQubeAnalyze@4 -- 2.39.5