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