File tree Expand file tree Collapse file tree 4 files changed +16
-4
lines changed
src/Tests/Microsoft.NET.TestFramework Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,20 @@ stages:
5252 _SignType : real
5353 _Test : ' '
5454
55+ - ${{ if ne(variables['System.TeamProject'], 'public') }} :
56+ - template : /eng/build.yml
57+ parameters :
58+ agentOs : Windows_Perf_Helix
59+ pool :
60+ name : Hosted VS2017
61+ strategy :
62+ matrix :
63+ Build_Release :
64+ _BuildConfig : Release
65+ _PublishType : none
66+ _SignType : test
67+ _DotNetPublishToBlobFeed : false
68+
5569 - ${{ if ne(variables['System.TeamProject'], 'public') }} :
5670 - template : /eng/build.yml
5771 parameters :
Original file line number Diff line number Diff line change 4242 $env: NETCoreSdkBundledVersionsProps = Join-Path $env: DOTNET_INSTALL_DIR " sdk\$env: SDK_CLI_VERSION \Microsoft.NETCoreSdk.BundledVersions.props"
4343 $env: MicrosoftNETBuildExtensionsTargets = Join-Path $env: MSBuildSDKsPath " Microsoft.NET.Build.Extensions\msbuildExtensions\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets"
4444 $env: DOTNET_ROOT = $env: DOTNET_INSTALL_DIR
45- $env: MSBUILDNODEHANDSHAKESALT = " Test Environment for dotnet/sdk"
4645
4746 if ($command -eq $null -and $env: DOTNET_SDK_DOGFOOD_SHELL -ne $null ) {
4847 $command = , $env: DOTNET_SDK_DOGFOOD_SHELL
Original file line number Diff line number Diff line change @@ -22,4 +22,3 @@ export MSBuildSDKsPath="$artifacts_dir/bin/$configuration/Sdks"
2222export DOTNET_MSBUILD_SDK_RESOLVER_SDKS_DIR=" $MSBuildSDKsPath "
2323export NETCoreSdkBundledVersionsProps=" $DOTNET_INSTALL_DIR /sdk/$dotnet_sdk_version /Microsoft.NETCoreSdk.BundledVersions.props"
2424export MicrosoftNETBuildExtensionsTargets=" $MSBuildSDKsPath /Microsoft.NET.Build.Extensions/msbuildExtensions/Microsoft/Microsoft.NET.Build.Extensions/Microsoft.NET.Build.Extensions.targets"
25- export MSBUILDNODEHANDSHAKESALT=" Test Environment for dotnet/sdk"
Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ public void AddTestEnvironmentVariables(SdkCommandSpec command)
5959 command . Environment [ "GenerateResourceMSBuildArchitecture" ] = "CurrentArchitecture" ;
6060 command . Environment [ "GenerateResourceMSBuildRuntime" ] = "CurrentRuntime" ;
6161
62- // Use distinct nodes for test environment
63- command . Environment [ "MSBUILDNODEHANDSHAKESALT " ] = "Test Environment for dotnet/sdk " ;
62+ // Prevent test MSBuild nodes from persisting
63+ command . Environment [ "MSBUILDDISABLENODEREUSE " ] = "1 " ;
6464
6565 ToolsetUnderTest . AddTestEnvironmentVariables ( command ) ;
6666 }
You can’t perform that action at this time.
0 commit comments