Merge pull request #13088 from mmitche/switch-to-1es-pools

Switch to 1ES pools for official builds
This commit is contained in:
Marc Paine 2022-01-21 16:37:31 -08:00 committed by GitHub
commit 2abfc35a78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,7 @@ stages:
- stage: build
jobs:
- job: Publish_Build_Configuration
pool:
pool:
${{ if eq(variables['System.TeamProject'], 'public') }}:
name: NetCore1ESPool-Public
demands: ImageOverride -equals build.windows.10.amd64.vs2019.open
@ -378,8 +378,6 @@ stages:
- Source_Build_Managed
- Source_Build_Create_Tarball
publishUsingPipelines: true
pool:
vmImage: vs2017-win2016
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
- template: eng\common\templates\post-build\post-build.yml