未验证 提交 303903fc 编写于 作者: J Jon Fortescue 提交者: GitHub

Merge pull request #5431 from jonfortescue/1esPoolsMain

Switch to 1ES R&D pools on main
......@@ -72,8 +72,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-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
......
......@@ -34,11 +34,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-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-Internal
demands: ImageOverride -equals build.windows.10.amd64.vs2019.pre
variables:
# needed for signing
- name: _TeamName
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册