Skip to content

Commit c4c7747

Browse files
committed
Use windows-2019 AzDO (hosted) queues
- aspnet/AspNetCore-Internal#2538 - stick with BYOC queues for internal builds nit: remove unused `poolName` parameter
1 parent 2ea746f commit c4c7747

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

.azure/pipelines/jobs/default-build.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
# The name of the job. Defaults to the name of the OS. No spaces allowed
66
# jobDisplayName: string
77
# The friendly job name to display in the UI. Defaults to the name of the OS.
8-
# poolName: string
9-
# The name of the Azure DevOps agent pool to use.
108
# poolVmImage: string
119
# The name of a virtual machine image to use. Primarily of interest when using the Hosted pools.
1210
# agentOs: string
@@ -48,7 +46,6 @@
4846

4947
parameters:
5048
agentOs: 'Windows'
51-
poolName: ''
5249
poolVmImage: ''
5350
buildArgs: ''
5451
configuration: 'Release'
@@ -91,17 +88,9 @@ jobs:
9188
vmImage: macOS-10.13
9289
${{ if and(eq(parameters.poolVmImage, ''), eq(parameters.agentOs, 'Linux')) }}:
9390
vmImage: ubuntu-16.04
94-
${{ if ne(parameters.poolName, '') }}:
95-
name: ${{ parameters.poolName }}
96-
${{ if and(eq(parameters.poolName, ''), eq(parameters.agentOs, 'Windows')) }}:
91+
${{ if and(eq(parameters.poolVmImage, ''), eq(parameters.agentOs, 'Windows')) }}:
9792
${{ if eq(variables['System.TeamProject'], 'public') }}:
98-
name: NetCorePublic-Pool
99-
${{ if ne(parameters.isTestingJob, true) }}:
100-
# Visual Studio Build Tools
101-
queue: BuildPool.Windows.10.Amd64.VS2019.BT.Open
102-
${{ if eq(parameters.isTestingJob, true) }}:
103-
# Visual Studio Enterprise - contains some stuff, like SQL Server and IIS Express, that we use for testing
104-
queue: BuildPool.Windows.10.Amd64.VS2019.Open
93+
vmImage: windows-2019
10594
${{ if eq(variables['System.TeamProject'], 'internal') }}:
10695
name: NetCoreInternal-Pool
10796
${{ if ne(parameters.isTestingJob, true) }}:

0 commit comments

Comments
 (0)