|
5 | 5 | # The name of the job. Defaults to the name of the OS. No spaces allowed
|
6 | 6 | # jobDisplayName: string
|
7 | 7 | # 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. |
10 | 8 | # poolVmImage: string
|
11 | 9 | # The name of a virtual machine image to use. Primarily of interest when using the Hosted pools.
|
12 | 10 | # agentOs: string
|
|
48 | 46 |
|
49 | 47 | parameters:
|
50 | 48 | agentOs: 'Windows'
|
51 |
| - poolName: '' |
52 | 49 | poolVmImage: ''
|
53 | 50 | buildArgs: ''
|
54 | 51 | configuration: 'Release'
|
|
91 | 88 | vmImage: macOS-10.13
|
92 | 89 | ${{ if and(eq(parameters.poolVmImage, ''), eq(parameters.agentOs, 'Linux')) }}:
|
93 | 90 | 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')) }}: |
97 | 92 | ${{ 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 |
105 | 94 | ${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
106 | 95 | name: NetCoreInternal-Pool
|
107 | 96 | ${{ if ne(parameters.isTestingJob, true) }}:
|
|
0 commit comments