Skip to content

Commit

Permalink
chore: Update SonarCloud tasks to version 2
Browse files Browse the repository at this point in the history
The SonarCloud tasks in the build pipeline have been updated from version 1 to version 2. This update is necessary to ensure compatibility with the latest features and improvements in SonarCloud.
  • Loading branch information
coenm committed Aug 21, 2024
1 parent 071b03b commit 11887cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .azuredevops/Pipelines/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ stages:
command: restore
projects: '**/*.csproj'

- task: SonarCloudPrepare@1
- task: SonarCloudPrepare@2
displayName: Prepare analysis on SonarCloud
inputs:
SonarCloud: SonarCloudGithub
Expand Down Expand Up @@ -138,10 +138,10 @@ stages:
/p:ExcludeByAttribute=CompilerGenerated
publishTestResults: true

- task: SonarCloudAnalyze@1
- task: SonarCloudAnalyze@2
displayName: Run Code Analysis

- task: SonarCloudPublish@1
- task: SonarCloudPublish@2
displayName: Publish Quality Gate Result

# https://docs.codecov.com/docs/codecov-uploader
Expand Down

0 comments on commit 11887cf

Please sign in to comment.