File tree 4 files changed +16
-4
lines changed
src/Tests/Microsoft.NET.TestFramework
4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,20 @@ stages:
52
52
_SignType : real
53
53
_Test : ' '
54
54
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
+
55
69
- ${{ if ne(variables['System.TeamProject'], 'public') }} :
56
70
- template : /eng/build.yml
57
71
parameters :
Original file line number Diff line number Diff line change 42
42
$env: NETCoreSdkBundledVersionsProps = Join-Path $env: DOTNET_INSTALL_DIR " sdk\$env: SDK_CLI_VERSION \Microsoft.NETCoreSdk.BundledVersions.props"
43
43
$env: MicrosoftNETBuildExtensionsTargets = Join-Path $env: MSBuildSDKsPath " Microsoft.NET.Build.Extensions\msbuildExtensions\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.targets"
44
44
$env: DOTNET_ROOT = $env: DOTNET_INSTALL_DIR
45
- $env: MSBUILDNODEHANDSHAKESALT = " Test Environment for dotnet/sdk"
46
45
47
46
if ($command -eq $null -and $env: DOTNET_SDK_DOGFOOD_SHELL -ne $null ) {
48
47
$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"
22
22
export DOTNET_MSBUILD_SDK_RESOLVER_SDKS_DIR=" $MSBuildSDKsPath "
23
23
export NETCoreSdkBundledVersionsProps=" $DOTNET_INSTALL_DIR /sdk/$dotnet_sdk_version /Microsoft.NETCoreSdk.BundledVersions.props"
24
24
export 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)
59
59
command . Environment [ "GenerateResourceMSBuildArchitecture" ] = "CurrentArchitecture" ;
60
60
command . Environment [ "GenerateResourceMSBuildRuntime" ] = "CurrentRuntime" ;
61
61
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 " ;
64
64
65
65
ToolsetUnderTest . AddTestEnvironmentVariables ( command ) ;
66
66
}
You can’t perform that action at this time.
0 commit comments