1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
parameters:
buildConfig: ''
archType: ''
osGroup: ''
name: ''
displayName: ''
condition: ''
dependsOn: ''
variables: {} ## any extra variables to add to the defaults defined below
jobs:
- template: /eng/common/templates/phases/base.yml
parameters:
name: ${{ parameters.name }}
displayName: ${{ parameters.displayName }}
condition: ${{ parameters.condition }}
dependsOn: ${{ parameters.dependsOn }}
queue:
${{ if eq(parameters.osGroup, 'Linux') }}:
name: Hosted Ubuntu 1604
${{ if and(eq(parameters.osGroup, 'Windows_NT'), ne(variables['System.TeamProject'], 'public')) }}:
name: Hosted Mac Internal
${{ if and(eq(parameters.osGroup, 'Windows_NT'), eq(variables['System.TeamProject'], 'public')) }}:
name: Hosted MacOS
${{ if and(eq(parameters.osGroup, 'Windows_NT'), ne(variables['System.TeamProject'], 'public')) }}:
name: dotnet-internal-temp
${{ if and(eq(parameters.osGroup, 'Windows_NT'), eq(variables['System.TeamProject'], 'public')) }}:
name: dotnet-external-temp
timeoutInMinutes: 240
${{ if eq(parameters.osGroup, 'Linux') }}:
agentOs: Ubuntu
${{ if eq(parameters.osGroup, 'OSX') }}:
agentOs: MacOS
${{ if eq(parameters.osGroup, 'Windows_NT') }}:
agentOs: Windows_NT
variables:
buildConfig: ${{ parameters.buildConfig }}
${{ if eq(parameters.buildConfig, 'checked') }}:
buildConfigUpper: 'Checked'
${{ if eq(parameters.buildConfig, 'debug') }}:
buildConfigUpper: 'Debug'
${{ if eq(parameters.buildConfig, 'release') }}:
buildConfigUpper: 'Release'
archType: ${{ parameters.archType }}
osGroup: ${{ parameters.osGroup }}
${{insert}}: ${{ parameters.variables }}
steps: ${{ parameters.steps }}
|