35
35
36
36
parameters :
37
37
- name : isRTM
38
- displayName : " Release a RTM version?"
38
+ displayName : " Produce RTM version?"
39
39
type : boolean
40
40
default : False
41
41
@@ -89,6 +89,10 @@ variables:
89
89
/p:OfficialBuildId=$(BUILD.BUILDNUMBER)
90
90
/p:VisualStudioDropName=$(VisualStudioDropName)
91
91
92
+ - ${{ if eq(parameters.isRTM, True) }} :
93
+ - name : _InternalBuildArgs
94
+ value : $(_InternalBuildArgs) /p:DotNetFinalVersionKind=release
95
+
92
96
stages :
93
97
94
98
- stage : build
@@ -156,7 +160,7 @@ stages:
156
160
PathtoPublish : ' $(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)'
157
161
ArtifactName : TestResults
158
162
condition : failed()
159
-
163
+
160
164
# Public pipeline does not upload packages into artifacts, but we need them for tests on Linux and MacOS.
161
165
- ${{ if eq(variables._RunAsPublic, True) }} :
162
166
- task : PublishBuildArtifacts@1
@@ -176,7 +180,7 @@ stages:
176
180
inputs :
177
181
PathtoPublish : ' $(Build.SourcesDirectory)/artifacts/VSSetup/$(_BuildConfig)'
178
182
ArtifactName : VSSetupArtifacts
179
-
183
+
180
184
- job : OtherOSes
181
185
dependsOn : Windows
182
186
workspace :
@@ -200,30 +204,30 @@ stages:
200
204
- checkout : self
201
205
fetchDepth : 1
202
206
clean : true
203
-
207
+
204
208
# Build but don't pack, packing does not work on non-windows and we want to test what we built on Windows
205
209
# anyway. Because that is what we will publish.
206
210
- script : ./build.sh
207
211
--configuration $(_BuildConfig)
208
212
--ci
209
213
name : Build
210
214
displayName : Build
211
-
215
+
212
216
# Download the built packages into local package source, as if we built them on this machine.
213
217
- task : DownloadPipelineArtifact@2
214
218
displayName : Download Package Artifacts
215
219
inputs :
216
220
artifactName : PackageArtifacts
217
221
targetPath : ' $(Build.SourcesDirectory)/artifacts/packages/$(_BuildConfig)/Shipping'
218
-
222
+
219
223
- script : ./test.sh
220
224
--configuration $(_BuildConfig)
221
225
--ci
222
226
--integrationTest
223
227
--performanceTest
224
228
name : Test
225
229
displayName : Test
226
-
230
+
227
231
# This step is only helpful for diagnosing some issues with vstest/test host that would not appear
228
232
# through the console or trx
229
233
- task : PublishBuildArtifacts@1
@@ -254,7 +258,7 @@ stages:
254
258
inputs :
255
259
artifactName : PackageArtifacts
256
260
targetPath : ' $(Build.SourcesDirectory)/artifacts/packages/$(_BuildConfig)/Shipping'
257
-
261
+
258
262
- task : DownloadPipelineArtifact@2
259
263
displayName : Download VSSetup Artifacts
260
264
inputs :
0 commit comments