diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9393335c0..729119106 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1102,19 +1102,19 @@ stages: vmImage: ${{ variables.windowsImage }} steps: - checkout: self # Need history for Sonar analysis - - task: SonarCloudPrepare@2 + - task: SonarCloudPrepare@3 env: SONAR_SCANNER_OPTS: '' inputs: SonarCloud: 'SonarCloud' organization: 'readarr' - scannerMode: 'CLI' + scannerMode: 'cli' configMode: 'manual' cliProjectKey: 'readarrui' cliProjectName: 'ReadarrUI' cliProjectVersion: '$(readarrVersion)' cliSources: './frontend' - - task: SonarCloudAnalyze@2 + - task: SonarCloudAnalyze@3 - job: Api_Docs displayName: API Docs @@ -1190,12 +1190,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: 'readarr' - scannerMode: 'MSBuild' + scannerMode: 'dotnet' projectKey: 'Readarr_Readarr' projectName: 'Readarr' projectVersion: '$(readarrVersion)' @@ -1208,7 +1208,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