From 5fac3486130df3b316dd882d676ca13ecb697b59 Mon Sep 17 00:00:00 2001 From: Qstick Date: Mon, 30 Dec 2024 22:22:19 -0600 Subject: [PATCH] Bump SonarCloud azure extension to 3.X (cherry picked from commit 7b8e352d876cd8f8e5b6296f0c3938bed4db8bb8) --- azure-pipelines.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e5af45f76e..ffb396b4f8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1205,12 +1205,12 @@ stages: submodules: true - powershell: Set-Service SCardSvr -StartupType Manual displayName: Enable Windows Test Service - - task: SonarCloudPrepare@2 + - task: SonarCloudPrepare@3 condition: eq(variables['System.PullRequest.IsFork'], 'False') inputs: SonarCloud: 'SonarCloud' organization: 'radarr' - scannerMode: 'MSBuild' + scannerMode: 'dotnet' projectKey: 'Radarr_Radarr' projectName: 'Radarr' projectVersion: '$(radarrVersion)' @@ -1223,7 +1223,7 @@ stages: ./build.sh --backend -f net6.0 -r win-x64 TEST_DIR=_tests/net6.0/win-x64/publish/ ./test.sh Windows Unit Coverage displayName: Coverage Unit Tests - - task: SonarCloudAnalyze@2 + - task: SonarCloudAnalyze@3 condition: eq(variables['System.PullRequest.IsFork'], 'False') displayName: Publish SonarCloud Results - task: reportgenerator@5.3.11