@@ -364,7 +364,7 @@ stages:
364
364
365
365
- template : ../jobs/vmr-build.yml
366
366
parameters :
367
- buildName : ${{ format('{0}_Ubuntu ', variables.ubuntuName) }}
367
+ buildName : ${{ format('{0}_Ubuntu_BuildTests ', variables.ubuntuName) }}
368
368
isBuiltFromVmr : ${{ parameters.isBuiltFromVmr }}
369
369
vmrBranch : ${{ variables.VmrBranch }}
370
370
pool : ${{ parameters.pool_Linux }}
@@ -373,17 +373,19 @@ stages:
373
373
image : ${{ variables.ubuntuContainerImage }}
374
374
targetOS : linux
375
375
targetArchitecture : x64
376
-
377
- - template : ../jobs/vmr-build.yml
378
- parameters :
379
- buildName : Windows_BuildTests
380
- isBuiltFromVmr : ${{ parameters.isBuiltFromVmr }}
381
- vmrBranch : ${{ variables.VmrBranch }}
382
- pool : ${{ parameters.pool_Windows }}
383
- targetOS : windows
384
- targetArchitecture : x64
385
376
extraProperties : /p:DotNetBuildTests=true
386
377
378
+ - ${{ if ne(variables['Build.Reason'], 'PullRequest') }} :
379
+ - template : ../jobs/vmr-build.yml
380
+ parameters :
381
+ buildName : Windows_BuildTests
382
+ isBuiltFromVmr : ${{ parameters.isBuiltFromVmr }}
383
+ vmrBranch : ${{ variables.VmrBranch }}
384
+ pool : ${{ parameters.pool_Windows }}
385
+ targetOS : windows
386
+ targetArchitecture : x64
387
+ extraProperties : /p:DotNetBuildTests=true
388
+
387
389
# ### VERTICAL BUILD (Official) ####
388
390
- ${{ if not(parameters.isSourceOnlyBuild) }} :
389
391
- stage : VMR_Vertical_Build
0 commit comments