Skip to content

Commit

Permalink
Remove Nuget installer task
Browse files Browse the repository at this point in the history
  • Loading branch information
zsolt-kolbay-sonarsource committed Jul 5, 2024
1 parent b44fd47 commit aabbd32
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ variables:
value: "Any CPU"
- name: SOLUTION
value: "SonarScanner.MSBuild.sln"
- name: NUGET_VERSION
value: "6.10.0"

resources:
repositories:
Expand All @@ -69,11 +67,6 @@ stages:
steps:
- checkout: self

- task: NuGetToolInstaller@1
displayName: "Install NuGet"
inputs:
versionSpec: $(NUGET_VERSION)

- task: Cache@2
displayName: Cache Maven local repo
inputs:
Expand Down Expand Up @@ -458,10 +451,6 @@ stages:
targetPath: '$(Build.SourcesDirectory)\build'
artifactName: build

- task: NuGetToolInstaller@1
inputs:
versionSpec: $(NUGET_VERSION)

- powershell: |
$projectVersion = Get-Content "$(Build.SourcesDirectory)\build\version.txt"
Write-Host "##vso[task.setvariable variable=SONAR_PROJECT_VERSION]$projectVersion"
Expand Down

0 comments on commit aabbd32

Please sign in to comment.