You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--max-wait-minutes "$((${{ parameters.timeoutInMinutes }} - 5))" # Set the tool's timeout slightly lower than the Azure DevOps job timeout to allow it to exit gracefully.
Write-PipelineTelemetryError-Category 'InitializeToolset'-Message "Unexpected value of -msbuildEngine: '$msbuildEngine'."
573
603
ExitWithExitCode 1
@@ -706,7 +736,7 @@ function InitializeToolset() {
706
736
}
707
737
708
738
functionExitWithExitCode([int] $exitCode) {
709
-
if ($ci-and$prepareMachine) {
739
+
if ($prepareMachine) {
710
740
Stop-Processes
711
741
}
712
742
exit$exitCode
@@ -741,13 +771,6 @@ function MSBuild() {
741
771
Write-PipelineTelemetryError-Category 'Build'-Message 'Binary log must be enabled in CI build, or explicitly opted-out from with the -excludeCIBinarylog switch.'
742
772
ExitWithExitCode 1
743
773
}
744
-
745
-
# Node reuse must be disabled in CI builds unless explicitly opted in via MSBUILD_NODEREUSE_ENABLED.
746
-
# Internal testing only; this env var will be replaced with a switch (https://github.com/dotnet/arcade/issues/17013) and must not be depended on.
747
-
if ($nodeReuse-and$env:MSBUILD_NODEREUSE_ENABLED-ne"1") {
748
-
Write-PipelineTelemetryError-Category 'Build'-Message 'Node reuse must be disabled in CI build.'
749
-
ExitWithExitCode 1
750
-
}
751
774
}
752
775
753
776
$buildTool= InitializeBuildTool
@@ -789,11 +812,6 @@ function MSBuild() {
789
812
# The build already logged an error, that's the reason it failed. Producing an error here only adds noise.
790
813
Write-Host"Build failed with exit code $exitCode. Check errors above."-ForegroundColor Red
0 commit comments