Skip to content

Commit

Permalink
[release/2.1] Switch to consolidated Windows build images and Ubuntu …
Browse files Browse the repository at this point in the history
…20.04 (#29264)
  • Loading branch information
dougbu authored Oct 5, 2022
1 parent 394fc42 commit 727c0ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/templates/default-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ jobs:
${{ if and(eq(parameters.poolName, ''), eq(parameters.agentOs, 'macOS')) }}:
vmImage: macOS-11
${{ if and(eq(parameters.poolName, ''), eq(parameters.agentOs, 'Linux')) }}:
vmImage: ubuntu-18.04
vmImage: ubuntu-20.04
${{ if and(eq(parameters.poolName, ''), eq(parameters.agentOs, 'Windows')) }}:
${{ if eq(variables['System.TeamProject'], 'public') }}:
name: NetCore-Svc-Public
demands: ImageOverride -equals Build.Server.Amd64.VS2019.Open
demands: ImageOverride -equals 1es-windows-2019-open
${{ if ne(variables['System.TeamProject'], 'public') }}:
name: NetCore1ESPool-Svc-Internal
demands: ImageOverride -equals Build.Server.Amd64.VS2019
demands: ImageOverride -equals 1es-windows-2019
variables:
AgentOsName: ${{ parameters.agentOs }}
DOTNET_HOME: $(Agent.WorkFolder)/.dotnet
Expand Down

0 comments on commit 727c0ed

Please sign in to comment.