Skip to content

Commit 43f4f39

Browse files
authored
[Build] Update the static validation job to use an MMS2022 image that contains a 1ESPT artifact (#6300)
* Add demands for custom pool in YAML pipeline * Update WindowsAppSDK-BuildInstaller-Stage.yml * Add demands to WindowsAppSDK-BuildVSIX-Stage.yml Added demands for the build pool to prevent errors.
1 parent 1da00fc commit 43f4f39

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

build/AzurePipelinesTemplates/WindowsAppSDK-BuildInstaller-Stage.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ stages:
1010
type: windows
1111
isCustom: true
1212
name: 'ProjectReunionESPool-2022' # This stage is purely for validation
13+
# If we just let the pool give us MMS2022, we will get an error saying an artifact for 1ESPT is missing
14+
demands: ImageOverride -equals MMS2022-1ES-GPT
1315
strategy:
1416
maxParallel: 10
1517
matrix:

build/AzurePipelinesTemplates/WindowsAppSDK-BuildVSIX-Stage.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ stages:
1010
type: windows
1111
isCustom: true
1212
name: 'ProjectReunionESPool-2022' # This stage is purely for validation
13+
# If we just let the pool give us MMS2022, we will get an error saying an artifact for 1ESPT is missing
14+
demands: ImageOverride -equals MMS2022-1ES-GPT
1315
variables:
1416
ob_outputDirectory: '$(REPOROOT)\out'
1517
ob_artifactBaseName: "VSIX"

build/AzurePipelinesTemplates/WindowsAppSDK-StaticValidationTest-Stage.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ stages:
1313
type: windows
1414
isCustom: true
1515
name: 'ProjectReunionESPool-2022' # This stage is purely for ES, hence this custom pool
16+
# If we just let the pool give us MMS2022, we will get an error saying an artifact for 1ESPT is missing.
17+
demands: ImageOverride -equals MMS2022-1ES-GPT
1618
timeoutInMinutes: 120
1719
steps:
1820
- task: NuGetAuthenticate@1

0 commit comments

Comments
 (0)