From 6a6a119c9a08ca71d29e6f6750d5f4b64963bddd Mon Sep 17 00:00:00 2001 From: Doug Bunting Date: Sat, 4 May 2019 19:42:53 -0700 Subject: [PATCH] Switch to non `-Int` pools and clear NuGet caches - aspnet/AspNetCore-Internal#2436 - aspnet/AspNetCore#9767 --- .azure/pipelines/jobs/default-build.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.azure/pipelines/jobs/default-build.yml b/.azure/pipelines/jobs/default-build.yml index 8f27dd286e..7de42c3b98 100644 --- a/.azure/pipelines/jobs/default-build.yml +++ b/.azure/pipelines/jobs/default-build.yml @@ -78,10 +78,10 @@ jobs: vmImage: ubuntu-16.04 ${{ if and(eq(parameters.poolName, ''), eq(parameters.agentOs, 'Windows')) }}: ${{ if eq(variables['System.TeamProject'], 'public') }}: - name: NetCorePublic-Int-Pool + name: NetCorePublic-Pool queue: BuildPool.Windows.10.Amd64.VS2017.Open ${{ if ne(variables['System.TeamProject'], 'public') }}: - name: NetCoreInternal-Int-Pool + name: NetCoreInternal-Pool queue: BuildPool.Windows.10.Amd64.VS2017 variables: AgentOsName: ${{ parameters.agentOs }} @@ -109,6 +109,12 @@ jobs: - ${{ if eq(parameters.agentOs, 'Windows') }}: - powershell: ./eng/scripts/InstallJdk.ps1 '11.0.1' displayName: Install JDK 11 + - task: NuGetCommand@2 + displayName: 'Clear NuGet caches' + condition: succeeded() + inputs: + command: custom + arguments: 'locals all -clear' - ${{ if and(eq(variables['System.TeamProject'], 'internal'), eq(parameters.agentOs, 'Windows'), eq(parameters.codeSign, 'true')) }}: - task: MicroBuildSigningPlugin@1 displayName: Install MicroBuild Signing plugin