File tree Expand file tree Collapse file tree 4 files changed +17
-12
lines changed Expand file tree Collapse file tree 4 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 7
7
strategy :
8
8
matrix :
9
9
' Windows ' :
10
- VM_IMAGE : ' windows-2019 '
10
+ VM_IMAGE : ' windows-latest '
11
11
' Linux ' :
12
- VM_IMAGE : ' Ubuntu 16.04 '
12
+ VM_IMAGE : ' ubuntu-latest '
13
13
' macOS ' :
14
14
VM_IMAGE : ' macOS-latest'
15
15
pool :
@@ -26,11 +26,11 @@ stages:
26
26
- template : build/stages/artifacts-test.yml
27
27
parameters :
28
28
name : Linux
29
- vmImage : ' Ubuntu 16.04 '
29
+ vmImage : ' ubuntu-latest '
30
30
- template : build/stages/artifacts-test.yml
31
31
parameters :
32
32
name : Windows
33
- vmImage : ' windows-2019 '
33
+ vmImage : ' windows-latest '
34
34
35
35
- stage : Docker
36
36
dependsOn : Test
@@ -40,30 +40,30 @@ stages:
40
40
- template : build/stages/docker.yml
41
41
parameters :
42
42
name : Linux
43
- vmImage : ' Ubuntu 16.04 '
43
+ vmImage : ' ubuntu-latest '
44
44
- template : build/stages/docker.yml
45
45
parameters :
46
46
name : Windows
47
- vmImage : ' windows-2019 '
47
+ vmImage : ' windows-latest '
48
48
49
49
- stage : Publish
50
50
dependsOn : Test
51
51
condition : succeeded()
52
52
jobs :
53
53
- job : Publish
54
54
pool :
55
- vmImage : windows-2019
55
+ vmImage : windows-latest
56
56
steps :
57
57
- template : build/stages/publish.yml
58
58
59
59
- stage : Release
60
- dependsOn :
60
+ dependsOn :
61
61
- Docker
62
62
- Publish
63
63
condition : succeeded()
64
64
jobs :
65
65
- job : Release
66
66
pool :
67
- vmImage : windows-2019
67
+ vmImage : windows-latest
68
68
steps :
69
69
- template : build/stages/release.yml
Original file line number Diff line number Diff line change 5
5
packageType : sdk
6
6
version : 2.2.401
7
7
installationPath : $(Agent.ToolsDirectory)/dotnet
8
+ - task : Bash@3
9
+ displayName : ' Env Vars'
10
+ inputs :
11
+ targetType : ' inline'
12
+ script : ' env | sort'
8
13
- task : CmdLine@2
9
14
condition : eq( variables['Agent.OS'], 'Darwin' )
10
15
displayName : ' Use mono'
Original file line number Diff line number Diff line change 2
2
- job : Generator
3
3
displayName : ' Generate Docker jobs'
4
4
pool :
5
- vmImage : windows-2019
5
+ vmImage : windows-latest
6
6
steps :
7
7
- pwsh : ./src/Docker/docker.ps1 -os windows -variant runtime
8
8
name : Map_Windows
9
9
- pwsh : ./src/Docker/docker.ps1 -os linux -variant runtime
10
- name : Map_Linux
10
+ name : Map_Linux
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ public class BuildParameters
92
92
IsLocalBuild = buildSystem . IsLocalBuild ,
93
93
IsRunningOnAppVeyor = buildSystem . IsRunningOnAppVeyor ,
94
94
IsRunningOnTravis = buildSystem . IsRunningOnTravisCI ,
95
- IsRunningOnAzurePipeline = buildSystem . IsRunningOnAzurePipelinesHosted ,
95
+ IsRunningOnAzurePipeline = buildSystem . IsRunningOnAzurePipelines || buildSystem . IsRunningOnAzurePipelinesHosted ,
96
96
97
97
IsDockerForWindows = dockerCliPlatform == "windows" ,
98
98
IsDockerForLinux = dockerCliPlatform == "linux" ,
You can’t perform that action at this time.
0 commit comments