1
1
parameters :
2
- - name : os_windows_2019
3
- displayName : Windows 2019 Image Version
4
- type : string
5
- default : windows-2019
6
- - name : os_windows_2022
7
- displayName : Windows 2022 Image Version
8
- type : string
9
- default : windows-2022
10
- - name : os_linux
11
- displayName : Linux Image Version
12
- type : string
13
- default : ubuntu-latest
14
- - name : os_macos
15
- displayName : MacOS Image Version
16
- type : string
17
- default : macOS-latest
18
- - name : win_ps_5_1
19
- displayName : Windows PowerShell 5.1 Version
20
- type : string
21
- default : 5.1
22
- - name : ps_7_2_x
23
- displayName : PowerShell 7.2.x Version
24
- type : string
25
- default : 7.2.*
26
- - name : ps_7_3_x
27
- displayName : PowerShell 7.3.x Version
28
- type : string
29
- default : 7.3.*
30
- - name : ps_7_4_x
31
- displayName : PowerShell 7.4.x Version
32
- type : string
33
- default : 7.4.*
34
- - name : ps_latest
35
- displayName : PowerShell Latest Version
36
- type : string
37
- default : latest
38
- - name : dotnet_sdk_6
39
- displayName : .NET 6 SDK Version
40
- type : string
41
- default : 6.0.x
42
- - name : dotnet_sdk_7
43
- displayName : .NET 7 SDK Version
44
- type : string
45
- default : 7.0.x
46
- - name : dotnet_sdk_8
47
- displayName : .NET 8 SDK Version
48
- type : string
49
- default : 8.0.x
2
+ - name : GalleryName
3
+ displayName : Gallery Name
4
+ type : string
5
+ default : DailyBuild
6
+ values :
7
+ - DailyBuild
8
+ - Sign
9
+ - PSGallery
10
+ - name : PipelineBuildId
11
+ displayName : Pipeline Build Id for Artifacts
12
+ type : string
13
+ default : ' '
50
14
51
15
variables :
16
+ os_windows_2019 : windows-2019
17
+ os_windows_2022 : windows-2022
18
+ os_linux : ubuntu-latest
19
+ os_macos : macOS-latest
20
+ win_ps_5_1 : 5.1
21
+ ps_7_2_x : 7.2.*
22
+ ps_7_3_x : 7.3.*
23
+ ps_7_4_x : 7.4.*
24
+ ps_latest : latest
25
+ dotnet_sdk_6 : 6.0.x
26
+ dotnet_sdk_7 : 7.0.x
27
+ dotnet_sdk_8 : 8.0.x
52
28
ArtifactsName : LiveTestArtifacts
53
29
DataLocation : $(Pipeline.Workspace)/$(ArtifactsName)
54
30
SuppressAzurePowerShellBreakingChangeWarnings : true
@@ -71,146 +47,174 @@ stages:
71
47
- template : util/live-test-steps.yml
72
48
parameters :
73
49
name : ' win_ps_5_1_win_2019'
74
- vmImage : ${{ parameters .os_windows_2019 }}
50
+ vmImage : ${{ variables .os_windows_2019 }}
75
51
osType : ' Windows'
76
- psVersion : ${{ parameters.win_ps_5_1 }}
77
- dotnetVersion : ${{ parameters.dotnet_sdk_6 }}
52
+ psVersion : ${{ variables.win_ps_5_1 }}
53
+ dotnetVersion : ${{ variables.dotnet_sdk_6 }}
54
+ galleryName : ${{ parameters.GalleryName }}
55
+ pipelineBuildId : ${{ parameters.PipelineBuildId }}
78
56
79
57
- template : util/live-test-steps.yml
80
58
parameters :
81
59
name : ' win_ps_5_1_win_2022'
82
- vmImage : ${{ parameters .os_windows_2022 }}
60
+ vmImage : ${{ variables .os_windows_2022 }}
83
61
osType : ' Windows'
84
- psVersion : ${{ parameters.win_ps_5_1 }}
85
- dotnetVersion : ${{ parameters.dotnet_sdk_6 }}
62
+ psVersion : ${{ variables.win_ps_5_1 }}
63
+ dotnetVersion : ${{ variables.dotnet_sdk_6 }}
64
+ galleryName : ${{ parameters.GalleryName }}
65
+ pipelineBuildId : ${{ parameters.PipelineBuildId }}
86
66
87
67
- template : util/live-test-steps.yml
88
68
parameters :
89
69
name : ' ps_7_2_x_win_2019'
90
- vmImage : ${{ parameters .os_windows_2019 }}
70
+ vmImage : ${{ variables .os_windows_2019 }}
91
71
osType : ' Windows'
92
- psVersion : ${{ parameters.ps_7_2_x }}
93
- dotnetVersion : ${{ parameters.dotnet_sdk_6 }}
72
+ psVersion : ${{ variables.ps_7_2_x }}
73
+ dotnetVersion : ${{ variables.dotnet_sdk_6 }}
74
+ galleryName : ${{ parameters.GalleryName }}
75
+ pipelineBuildId : ${{ parameters.PipelineBuildId }}
94
76
95
77
- template : util/live-test-steps.yml
96
78
parameters :
97
79
name : ' ps_7_3_x_win_2019'
98
- vmImage : ${{ parameters .os_windows_2019 }}
80
+ vmImage : ${{ variables .os_windows_2019 }}
99
81
osType : ' Windows'
100
- psVersion : ${{ parameters.ps_7_3_x }}
101
- dotnetVersion : ${{ parameters.dotnet_sdk_7 }}
82
+ psVersion : ${{ variables.ps_7_3_x }}
83
+ dotnetVersion : ${{ variables.dotnet_sdk_7 }}
84
+ galleryName : ${{ parameters.GalleryName }}
85
+ pipelineBuildId : ${{ parameters.PipelineBuildId }}
102
86
103
87
- template : util/live-test-steps.yml
104
88
parameters :
105
89
name : ' ps_7_4_x_win_2019'
106
- vmImage : ${{ parameters .os_windows_2019 }}
90
+ vmImage : ${{ variables .os_windows_2019 }}
107
91
osType : ' Windows'
108
- psVersion : ${{ parameters.ps_7_4_x }}
109
- dotnetVersion : ${{ parameters.dotnet_sdk_8 }}
92
+ psVersion : ${{ variables.ps_7_4_x }}
93
+ dotnetVersion : ${{ variables.dotnet_sdk_8 }}
94
+ galleryName : ${{ parameters.GalleryName }}
95
+ pipelineBuildId : ${{ parameters.PipelineBuildId }}
110
96
111
97
- template : util/live-test-steps.yml
112
98
parameters :
113
99
name : ' ps_latest_win_2019'
114
- vmImage : ${{ parameters .os_windows_2019 }}
100
+ vmImage : ${{ variables .os_windows_2019 }}
115
101
osType : ' Windows'
116
- psVersion : ${{ parameters.ps_latest }}
117
- dotnetVersion : ${{ parameters.dotnet_sdk_8 }}
102
+ psVersion : ${{ variables.ps_latest }}
103
+ dotnetVersion : ${{ variables.dotnet_sdk_8 }}
104
+ galleryName : ${{ parameters.GalleryName }}
105
+ pipelineBuildId : ${{ parameters.PipelineBuildId }}
118
106
119
107
- template : util/live-test-steps.yml
120
108
parameters :
121
109
name : ' ps_7_2_x_win_2022'
122
- vmImage : ${{ parameters .os_windows_2022 }}
110
+ vmImage : ${{ variables .os_windows_2022 }}
123
111
osType : ' Windows'
124
- psVersion : ${{ parameters.ps_7_2_x }}
125
- dotnetVersion : ${{ parameters.dotnet_sdk_6 }}
112
+ psVersion : ${{ variables.ps_7_2_x }}
113
+ dotnetVersion : ${{ variables.dotnet_sdk_6 }}
114
+ galleryName : ${{ parameters.GalleryName }}
115
+ pipelineBuildId : ${{ parameters.PipelineBuildId }}
126
116
127
117
- template : util/live-test-steps.yml
128
118
parameters :
129
119
name : ' ps_7_3_x_win_2022'
130
- vmImage : ${{ parameters .os_windows_2022 }}
120
+ vmImage : ${{ variables .os_windows_2022 }}
131
121
osType : ' Windows'
132
- psVersion : ${{ parameters.ps_7_3_x }}
133
- dotnetVersion : ${{ parameters.dotnet_sdk_7 }}
122
+ psVersion : ${{ variables.ps_7_3_x }}
123
+ dotnetVersion : ${{ variables.dotnet_sdk_7 }}
124
+ galleryName : ${{ parameters.GalleryName }}
125
+ pipelineBuildId : ${{ parameters.PipelineBuildId }}
134
126
135
127
- template : util/live-test-steps.yml
136
128
parameters :
137
129
name : ' ps_7_4_x_win_2022'
138
- vmImage : ${{ parameters .os_windows_2022 }}
130
+ vmImage : ${{ variables .os_windows_2022 }}
139
131
osType : ' Windows'
140
- psVersion : ${{ parameters.ps_7_4_x }}
141
- dotnetVersion : ${{ parameters.dotnet_sdk_8 }}
132
+ psVersion : ${{ variables.ps_7_4_x }}
133
+ dotnetVersion : ${{ variables.dotnet_sdk_8 }}
134
+ galleryName : ${{ parameters.GalleryName }}
135
+ pipelineBuildId : ${{ parameters.PipelineBuildId }}
142
136
143
137
- template : util/live-test-steps.yml
144
138
parameters :
145
139
name : ' ps_latest_win_2022'
146
- vmImage : ${{ parameters .os_windows_2022 }}
140
+ vmImage : ${{ variables .os_windows_2022 }}
147
141
osType : ' Windows'
148
- psVersion : ${{ parameters.ps_latest }}
149
- dotnetVersion : ${{ parameters.dotnet_sdk_8 }}
142
+ psVersion : ${{ variables.ps_latest }}
143
+ dotnetVersion : ${{ variables.dotnet_sdk_8 }}
144
+ galleryName : ${{ parameters.GalleryName }}
145
+ pipelineBuildId : ${{ parameters.PipelineBuildId }}
150
146
151
147
- template : util/live-test-steps.yml
152
148
parameters :
153
149
name : ' ps_7_2_x_linux'
154
- vmImage : ${{ parameters .os_linux }}
150
+ vmImage : ${{ variables .os_linux }}
155
151
osType : ' Linux'
156
- psVersion : ${{ parameters.ps_7_2_x }}
157
- dotnetVersion : ${{ parameters.dotnet_sdk_6 }}
152
+ psVersion : ${{ variables.ps_7_2_x }}
153
+ dotnetVersion : ${{ variables.dotnet_sdk_6 }}
154
+ galleryName : ${{ parameters.GalleryName }}
155
+ pipelineBuildId : ${{ parameters.PipelineBuildId }}
158
156
159
157
- template : util/live-test-steps.yml
160
158
parameters :
161
159
name : ' ps_7_3_x_linux'
162
- vmImage : ${{ parameters .os_linux }}
160
+ vmImage : ${{ variables .os_linux }}
163
161
osType : ' Linux'
164
- psVersion : ${{ parameters.ps_7_3_x }}
165
- dotnetVersion : ${{ parameters.dotnet_sdk_7 }}
162
+ psVersion : ${{ variables.ps_7_3_x }}
163
+ dotnetVersion : ${{ variables.dotnet_sdk_7 }}
164
+ galleryName : ${{ parameters.GalleryName }}
165
+ pipelineBuildId : ${{ parameters.PipelineBuildId }}
166
166
167
167
- template : util/live-test-steps.yml
168
168
parameters :
169
169
name : ' ps_7_4_x_linux'
170
- vmImage : ${{ parameters .os_linux }}
170
+ vmImage : ${{ variables .os_linux }}
171
171
osType : ' Linux'
172
- psVersion : ${{ parameters.ps_7_4_x }}
173
- dotnetVersion : ${{ parameters.dotnet_sdk_8 }}
172
+ psVersion : ${{ variables.ps_7_4_x }}
173
+ dotnetVersion : ${{ variables.dotnet_sdk_8 }}
174
+ galleryName : ${{ parameters.GalleryName }}
175
+ pipelineBuildId : ${{ parameters.PipelineBuildId }}
174
176
175
177
- template : util/live-test-steps.yml
176
178
parameters :
177
179
name : ' ps_latest_linux'
178
- vmImage : ${{ parameters .os_linux }}
180
+ vmImage : ${{ variables .os_linux }}
179
181
osType : ' Linux'
180
- psVersion : ${{ parameters.ps_latest }}
181
- dotnetVersion : ${{ parameters.dotnet_sdk_8 }}
182
+ psVersion : ${{ variables.ps_latest }}
183
+ dotnetVersion : ${{ variables.dotnet_sdk_8 }}
184
+ galleryName : ${{ parameters.GalleryName }}
185
+ pipelineBuildId : ${{ parameters.PipelineBuildId }}
182
186
183
187
# - template: util/live-test-steps.yml
184
188
# parameters:
185
189
# name: 'ps_7_2_x_macOS'
186
- # vmImage: ${{ parameters .os_macos }}
190
+ # vmImage: ${{ variables .os_macos }}
187
191
# osType: 'MacOS'
188
- # psVersion: ${{ parameters .ps_7_2_x }}
189
- # dotnetVersion: ${{ parameters .dotnet_sdk_6 }}
192
+ # psVersion: ${{ variables .ps_7_2_x }}
193
+ # dotnetVersion: ${{ variables .dotnet_sdk_6 }}
190
194
191
195
# - template: util/live-test-steps.yml
192
196
# parameters:
193
197
# name: 'ps_7_3_x_macOS'
194
- # vmImage: ${{ parameters .os_macos }}
198
+ # vmImage: ${{ variables .os_macos }}
195
199
# osType: 'MacOS'
196
- # psVersion: ${{ parameters .ps_7_3_x }}
197
- # dotnetVersion: ${{ parameters .dotnet_sdk_7 }}
200
+ # psVersion: ${{ variables .ps_7_3_x }}
201
+ # dotnetVersion: ${{ variables .dotnet_sdk_7 }}
198
202
199
203
# - template: util/live-test-steps.yml
200
204
# parameters:
201
205
# name: 'ps_7_4_x_macOS'
202
- # vmImage: ${{ parameters .os_macos }}
206
+ # vmImage: ${{ variables .os_macos }}
203
207
# osType: 'MacOS'
204
- # psVersion: ${{ parameters .ps_7_4_x }}
205
- # dotnetVersion: ${{ parameters .dotnet_sdk_8 }}
208
+ # psVersion: ${{ variables .ps_7_4_x }}
209
+ # dotnetVersion: ${{ variables .dotnet_sdk_8 }}
206
210
207
211
# - template: util/live-test-steps.yml
208
212
# parameters:
209
213
# name: 'ps_latest_macOS'
210
- # vmImage: ${{ parameters .os_macos }}
214
+ # vmImage: ${{ variables .os_macos }}
211
215
# osType: 'MacOS'
212
- # psVersion: ${{ parameters .ps_latest }}
213
- # dotnetVersion: ${{ parameters .dotnet_sdk_8 }}
216
+ # psVersion: ${{ variables .ps_latest }}
217
+ # dotnetVersion: ${{ variables .dotnet_sdk_8 }}
214
218
215
219
- stage : Report
216
220
displayName : Send Report
@@ -231,7 +235,7 @@ stages:
231
235
displayName : Download live test results
232
236
inputs :
233
237
buildType : ' current'
234
- targetPath : $(Pipeline.Workspace)/$(ArtifactsName )
238
+ targetPath : $(DataLocation )
235
239
236
240
- task : PowerShell@2
237
241
displayName : Send live test report
0 commit comments