Skip to content

Commit 7fe9a6c

Browse files
authored
Use variable for pool in official builds (#81047)
1 parent 861fd73 commit 7fe9a6c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

azure-pipelines-official.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ schedules:
6464
batch: false # Do not run the pipeline if the previously scheduled run is in-progress
6565

6666
variables:
67+
# Defines $(DncEngInternalBuildPool)
68+
- template: /eng/common/templates-official/variables/pool-providers.yml@self
69+
6770
- group: DotNet-Roslyn-SDLValidation-Params
6871
- name: Codeql.Enabled
6972
value: true
@@ -116,7 +119,7 @@ extends:
116119
autoEnableRoslynWithNewRuleset: false
117120
sdl:
118121
sourceAnalysisPool:
119-
name: NetCore1ESPool-Internal
122+
name: $(DncEngInternalBuildPool)
120123
image: 1es-windows-2022
121124
os: windows
122125
sbom:
@@ -129,7 +132,7 @@ extends:
129132
enabled: true
130133
configFile: '$(Build.SourcesDirectory)/eng/TSAConfig.gdntsa'
131134
pool:
132-
name: NetCore1ESPool-Internal
135+
name: $(DncEngInternalBuildPool)
133136
image: windows.vs2022preview.scout.amd64
134137
os: windows
135138
customBuildTags:
@@ -368,7 +371,7 @@ extends:
368371
dependsOn:
369372
- OfficialBuild
370373
pool:
371-
name: NetCore1ESPool-Internal
374+
name: $(DncEngInternalBuildPool)
372375
demands: ImageOverride -equals windows.vs2022.amd64
373376

374377
- ${{ if eq(variables.enableSourceIndex, 'true') }}:

0 commit comments

Comments
 (0)