Skip to content

Commit a422a3b

Browse files
authored
Update build pipeline to use automatic pool provider (#297)
1 parent c275b3c commit a422a3b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

azure-pipelines.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ variables:
1010
- name: _DotNetArtifactsCategory
1111
value: .NETCore
1212

13+
# Variables to automatically handle build pools
14+
- template: /eng/common/templates/variables/pool-providers.yml
15+
1316
# Variables for public PR builds
1417
- ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
1518
- name: _HelixSource
@@ -54,10 +57,10 @@ stages:
5457
- job: Windows
5558
pool:
5659
${{ if eq(variables['System.TeamProject'], 'public') }}:
57-
name: NetCore-Public
60+
name: $(DncEngPublicBuildPool)
5861
demands: ImageOverride -equals 1es-windows-2019-open
5962
${{ if ne(variables['System.TeamProject'], 'public') }}:
60-
name: NetCore1ESPool-Internal
63+
name: $(DncEngInternalBuildPool)
6164
demands: ImageOverride -equals 1es-windows-2019
6265
variables:
6366
- name: _HelixBuildConfig

0 commit comments

Comments
 (0)