Skip to content

Commit c135867

Browse files
authored
Try really hard (Azure#25852)
1 parent 6658a7a commit c135867

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

eng/pipelines/templates/steps/install-dotnet.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,23 @@ steps:
1111
# Installation steps need to be uncommented when switching to a newer SDK that's not available on DevOps agents
1212
- task: UseDotNet@2
1313
displayName: 'Use .NET Core SDK'
14+
retryCountOnTaskFailure: 3
1415
inputs:
1516
useGlobalJson: true
1617
performMultiLevelLookup: true
1718
# test-proxy requires ASP.NET Core 5.0 runtime
1819
- task: UseDotNet@2
1920
condition: and(succeeded(), ne(variables['Agent.OS'], 'Windows_NT')) # Windows supports MultiLevelLookup and doesn't need explicit framework installation
2021
displayName: 'Use .NET Core 5.0 SDK'
22+
retryCountOnTaskFailure: 3
2123
inputs:
2224
packageType: sdk
2325
performMultiLevelLookup: true
2426
version: "5.0.x"
2527
- task: UseDotNet@2
2628
condition: and(succeeded(), ne(variables['Agent.OS'], 'Windows_NT')) # Windows supports MultiLevelLookup and doesn't need explicit framework installation
2729
displayName: 'Use .NET Core 3.1 SDK'
30+
retryCountOnTaskFailure: 3
2831
inputs:
2932
# AspNetCore runtime pack can't be installed outside of SDK and we need it for intergation tests
3033
packageType: sdk

0 commit comments

Comments
 (0)