Skip to content

Commit

Permalink
Migrate to 1ES hosted pools (#1020)
Browse files Browse the repository at this point in the history
  • Loading branch information
suhsteve committed Feb 1, 2022
1 parent 8ded5a0 commit 04092d3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions azure-pipelines-e2e-tests-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ stages:
pool: Hosted VS2017
${{ else }}:
pool:
name: NetCore1ESPool-Public
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64.Open
${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
name: NetCore1ESPool-Public
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64.Open
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
name: NetCore1ESPool-Internal
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64

steps:
- task: PowerShell@2
Expand Down

0 comments on commit 04092d3

Please sign in to comment.