@@ -31,6 +31,8 @@ variables:
31
31
value : true
32
32
- name : _RunAsInternal
33
33
value : false
34
+ - name : _RunWithCoreWcfService
35
+ value : false
34
36
35
37
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
36
38
- name : _RunAsPublic
@@ -105,7 +107,7 @@ stages:
105
107
steps :
106
108
- checkout : self
107
109
clean : true
108
- - ${{ if eq(variables._RunAsPublic, True) }} :
110
+ - ${{ if and( eq(variables._RunAsPublic, True), ne(variables._RunWithCoreWcfService, True) ) }} :
109
111
- template : /eng/UpdatePRService.yml
110
112
parameters :
111
113
wcfPRServiceId : $(_WcfPRServiceId)
@@ -126,6 +128,7 @@ stages:
126
128
-projects $(Build.SourcesDirectory)/eng/SendToHelix.proj
127
129
$(_TestArgs)
128
130
/p:TestJob=Windows
131
+ /p:RunWithCoreWcfService=$(_RunWithCoreWcfService)
129
132
/bl:$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)/SendToHelix.binlog
130
133
displayName : Windows - Run Helix Tests
131
134
env :
@@ -169,9 +172,10 @@ stages:
169
172
steps :
170
173
- checkout : self
171
174
clean : true
172
- - template : /eng/UpdatePRService.yml
173
- parameters :
174
- wcfPRServiceId : $(_WcfPRServiceId)
175
+ - ${{ if and(eq(variables._RunAsPublic, True), ne(variables._RunWithCoreWcfService, True)) }} :
176
+ - template : /eng/UpdatePRService.yml
177
+ parameters :
178
+ wcfPRServiceId : $(_WcfPRServiceId)
175
179
- script : eng/common/cibuild.sh
176
180
-configuration $(_BuildConfig)
177
181
-preparemachine
@@ -187,6 +191,7 @@ stages:
187
191
--projects $(Build.SourcesDirectory)/eng/SendToHelix.proj
188
192
$(_TestArgs)
189
193
/p:TestJob=Linux
194
+ /p:RunWithCoreWcfService=$(_RunWithCoreWcfService)
190
195
/bl:$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)/SendToHelix.binlog
191
196
displayName : Linux - Run Helix Tests
192
197
env :
@@ -228,9 +233,10 @@ stages:
228
233
steps :
229
234
- checkout : self
230
235
clean : true
231
- - template : /eng/UpdatePRService.yml
232
- parameters :
233
- wcfPRServiceId : $(_WcfPRServiceId)
236
+ - ${{ if and(eq(variables._RunAsPublic, True), ne(variables._RunWithCoreWcfService, True)) }} :
237
+ - template : /eng/UpdatePRService.yml
238
+ parameters :
239
+ wcfPRServiceId : $(_WcfPRServiceId)
234
240
- script : eng\common\cibuild.cmd
235
241
-configuration $(_BuildConfig)
236
242
-preparemachine
@@ -246,11 +252,12 @@ stages:
246
252
-projects $(Build.SourcesDirectory)/eng/SendToHelix.proj
247
253
$(_TestArgs)
248
254
/p:TestJob=MacOS
255
+ /p:RunWithCoreWcfService=$(_RunWithCoreWcfService)
249
256
/bl:$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)/SendToHelix.binlog
250
257
displayName : MacOS - Run Helix Tests
251
258
env :
252
259
SYSTEM_ACCESSTOKEN : $(System.AccessToken)
253
260
ServiceHost : $(_serviceUri)
254
261
RunAsPublic : $(_RunAsPublic)
255
262
RunAsInternal : $(_RunAsInternal)
256
- IsWindowsBuild : false
263
+ IsWindowsBuild : false
0 commit comments