Skip to content

Commit

Permalink
Remove hard-coded .NET Sdk version for mgmt pipelines (#14799)
Browse files Browse the repository at this point in the history
  • Loading branch information
weshaggard authored Sep 2, 2020
1 parent 5dbcc86 commit f40bbbe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion eng/pipelines/mgmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ pr:
- eng/pipelines/templates/jobs/archetype-sdk-mgmt.yml

variables:
DotNetCoreSDKVersion: '2.2.202'
skipComponentGovernanceDetection: true
msBuildLogDir: msbuildlogs
loggingArgs: '/clp:ShowtimeStamp /flp:LogFile=$(msBuildLogDir)/msbuild.normal.log;Verbosity=normal /flp1:Summary;Verbosity=minimal;LogFile=$(msBuildLogDir)/msbuild.sum.log /flp2:warningsonly;logfile=$(msBuildLogDir)/msbuild.wrn.log /flp3:errorsonly;logfile=$(msBuildLogDir)/msbuild.err.log'
Expand Down
8 changes: 0 additions & 8 deletions eng/pipelines/templates/jobs/archetype-sdk-mgmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ jobs:
pool:
vmImage: windows-2019
steps:
- task: UseDotNet@2
displayName: "Use .NET Core sdk $(DotNetCoreSDKVersion)"
inputs:
version: "$(DotNetCoreSDKVersion)"
#- script: "echo $(system.pullrequest.pullrequestnumber), https://github.com/$(build.repository.id), https://github.com/$(build.repository.ID)"
- script: |
if "$(BuildConfiguration)" == "Release" (set SkipTests=true) else (set SkipTests=false)
Expand Down Expand Up @@ -49,10 +45,6 @@ jobs:
vmImage: "$(OSVmImage)"
steps:
- template: /eng/common/pipelines/templates/steps/verify-agent-os.yml
- task: UseDotNet@2
displayName: "Use .NET Core sdk $(DotNetCoreSDKVersion)"
inputs:
version: "$(DotNetCoreSDKVersion)"
- script: "echo $(system.pullrequest.pullrequestnumber), http://github.com/$(build.repository.id), http://github.com/$(build.repository.ID)"
- script: "dotnet msbuild mgmt.proj /v:n /t:RunTests /p:Scope=${{parameters.Scope}} /p:ForPublishing=$(ShouldPublish) /clp:ShowtimeStamp $(RPScopeArgs)"
displayName: "Build & Run Tests"
Expand Down

0 comments on commit f40bbbe

Please sign in to comment.