diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8fedba64035..3d7f29881fe 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -67,8 +67,8 @@ stages: ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: # agent pool can't be read from a user-defined variable (Azure DevOps limitation) pool: - name: NetCoreInternal-Pool - queue: buildpool.windows.10.amd64.vs2019.pre + name: NetCore1ESPool-Svc-Internal + demands: ImageOverride -equals build.windows.10.amd64.vs2019.pre # runAsPublic is used in expressions, which can't read from user-defined variables runAsPublic: false diff --git a/eng/pipeline.yml b/eng/pipeline.yml index add0e5c24cb..c96c9326577 100644 --- a/eng/pipeline.yml +++ b/eng/pipeline.yml @@ -28,11 +28,11 @@ jobs: # Will eventually change this to two BYOC pools. # agent pool can't be read from a user-defined variable (Azure DevOps limitation) ${{ if eq(variables['System.TeamProject'], 'public') }}: - name: NetCorePublic-Pool - queue: BuildPool.Windows.10.Amd64.VS2019.Pre.Open + name: NetCore1ESPool-Svc-Public + demands: ImageOverride -equals Build.Windows.10.Amd64.VS2019.Pre.Open ${{ if eq(variables['System.TeamProject'], 'internal') }}: - name: NetCoreInternal-Pool - queue: buildpool.windows.10.amd64.vs2019.pre + name: NetCore1ESPool-Svc-Internal + demands: ImageOverride -equals build.windows.10.amd64.vs2019.pre variables: # needed for signing - name: _TeamName