File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ jobs:
264264 displayName : ' Build with bootstrapped MSBuild and -mt mode'
265265 inputs :
266266 filePath : $(Build.SourcesDirectory)/eng/cibuild_bootstrapped_msbuild.ps1
267- arguments : -msbuildEngine dotnet -onlyDocChanged $(onlyDocChanged) -stage2Properties '/mt'
267+ arguments : -msbuildEngine dotnet -onlyDocChanged $(onlyDocChanged) -skipTests - stage2Properties '/mt'
268268 condition : eq(variables.onlyDocChanged, 0)
269269 env :
270270 MSBUILDUSESERVER : " 1"
Original file line number Diff line number Diff line change 55 [switch ] $prepareMachine ,
66 [bool ] $buildStage1 = $True ,
77 [bool ] $onlyDocChanged = 0 ,
8+ [switch ] $skipTests ,
89 [string []] $stage2Properties = @ (),
910 [Parameter (ValueFromRemainingArguments = $true )][String []]$properties
1011)
@@ -126,6 +127,9 @@ try {
126127 if ($onlyDocChanged ) {
127128 & $PSScriptRoot \Common\Build.ps1 - restore - build - ci / p:CreateBootstrap= false / nr:false @properties @stage2Properties
128129 }
130+ elseif ($skipTests ) {
131+ & $PSScriptRoot \Common\Build.ps1 - restore - build - ci / nr:false @properties @stage2Properties
132+ }
129133 else {
130134 & $PSScriptRoot \Common\Build.ps1 - restore - build - test - ci / nr:false @properties @stage2Properties
131135 }
You can’t perform that action at this time.
0 commit comments