Skip to content

Commit 6a6a119

Browse files
committed
Switch to non -Int pools and clear NuGet caches
- aspnet/AspNetCore-Internal#2436 - dotnet#9767
1 parent e96a53f commit 6a6a119

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.azure/pipelines/jobs/default-build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ jobs:
7878
vmImage: ubuntu-16.04
7979
${{ if and(eq(parameters.poolName, ''), eq(parameters.agentOs, 'Windows')) }}:
8080
${{ if eq(variables['System.TeamProject'], 'public') }}:
81-
name: NetCorePublic-Int-Pool
81+
name: NetCorePublic-Pool
8282
queue: BuildPool.Windows.10.Amd64.VS2017.Open
8383
${{ if ne(variables['System.TeamProject'], 'public') }}:
84-
name: NetCoreInternal-Int-Pool
84+
name: NetCoreInternal-Pool
8585
queue: BuildPool.Windows.10.Amd64.VS2017
8686
variables:
8787
AgentOsName: ${{ parameters.agentOs }}
@@ -109,6 +109,12 @@ jobs:
109109
- ${{ if eq(parameters.agentOs, 'Windows') }}:
110110
- powershell: ./eng/scripts/InstallJdk.ps1 '11.0.1'
111111
displayName: Install JDK 11
112+
- task: NuGetCommand@2
113+
displayName: 'Clear NuGet caches'
114+
condition: succeeded()
115+
inputs:
116+
command: custom
117+
arguments: 'locals all -clear'
112118
- ${{ if and(eq(variables['System.TeamProject'], 'internal'), eq(parameters.agentOs, 'Windows'), eq(parameters.codeSign, 'true')) }}:
113119
- task: MicroBuildSigningPlugin@1
114120
displayName: Install MicroBuild Signing plugin

0 commit comments

Comments
 (0)