Switch to 1ES pools for official builds
This commit is contained in:
parent
877ae87f93
commit
893b5b7d68
1 changed files with 7 additions and 2 deletions
|
@ -46,6 +46,13 @@ stages:
|
||||||
- stage: build
|
- stage: build
|
||||||
jobs:
|
jobs:
|
||||||
- job: Publish_Build_Configuration
|
- job: Publish_Build_Configuration
|
||||||
|
pool:
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
||||||
|
name: NetCore1ESPool-Public
|
||||||
|
demands: ImageOverride -equals build.windows.10.amd64.vs2019.open
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
||||||
|
name: NetCore1ESPool-Internal
|
||||||
|
demands: ImageOverride -equals build.windows.10.amd64.vs2019
|
||||||
steps:
|
steps:
|
||||||
- publish: $(Build.SourcesDirectory)\eng\BuildConfiguration
|
- publish: $(Build.SourcesDirectory)\eng\BuildConfiguration
|
||||||
artifact: BuildConfiguration
|
artifact: BuildConfiguration
|
||||||
|
@ -371,8 +378,6 @@ stages:
|
||||||
- Source_Build_Managed
|
- Source_Build_Managed
|
||||||
- Source_Build_Create_Tarball
|
- Source_Build_Create_Tarball
|
||||||
publishUsingPipelines: true
|
publishUsingPipelines: true
|
||||||
pool:
|
|
||||||
vmImage: vs2017-win2016
|
|
||||||
|
|
||||||
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
- template: eng\common\templates\post-build\post-build.yml
|
- template: eng\common\templates\post-build\post-build.yml
|
||||||
|
|
Loading…
Reference in a new issue