diff --git a/eng/helix/helix.proj b/eng/helix/helix.proj index 74a0dace16e2..e56c8741aa82 100644 --- a/eng/helix/helix.proj +++ b/eng/helix/helix.proj @@ -11,7 +11,7 @@ - + @@ -26,13 +26,11 @@ $(HelixApiAccessToken) true sdk - $(NETCoreSdkVersion) + $(NETCoreSdkVersion) Current - - bin\ - $(BaseOutputPath)$(Configuration)\ - $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + + $(RepoRoot)artifacts\bin\$(MSBuildProjectName)\ @@ -44,7 +42,7 @@ runtime - + ci @@ -86,30 +84,35 @@ @(_ResolvedProductVersionInfo->'%(PackageVersion)') - - + + + + SourceFiles="$(RepoRoot)artifacts\packages\$(Configuration)\Shipping\Microsoft.AspNetCore.App.Runtime.$(TargetRuntimeIdentifier).$(SharedFxVersion).nupkg" + DestinationFolder="$(OutputPath)\SharedFx.Unzip" /> - <_appRuntimeFiles Include="$(OutputPath)\AspNetCoreAppRuntimeHelixRaw\**\*.txt" /> - <_appRuntimeFiles Include="$(OutputPath)\AspNetCoreAppRuntimeHelixRaw\**\*.json" /> - <_appRuntimeFiles Include="$(OutputPath)\AspNetCoreAppRuntimeHelixRaw\**\*.dll" /> - <_appRuntimeFiles Include="$(OutputPath)\AspNetCoreAppRuntimeHelixRaw\**\*.xml" /> + <_appRuntimeFiles Include="$(OutputPath)\SharedFx.Unzip\**\*.txt" /> + <_appRuntimeFiles Include="$(OutputPath)\SharedFx.Unzip\**\*.json" /> + <_appRuntimeFiles Include="$(OutputPath)\SharedFx.Unzip\**\*.dll" /> + <_appRuntimeFiles Include="$(OutputPath)\SharedFx.Unzip\**\RuntimeList.xml" /> - - - - + + + + + + - + - + +[CmdletBinding(PositionalBinding = $false)] param( [Parameter(Mandatory=$true)] [string]$Project, + [string]$HelixQueues = "Windows.10.Amd64.Open", + [switch]$RunQuarantinedTests, + + [ValidateSet('x64', 'x86', 'arm', 'arm64')] [string]$TargetArchitecture = "x64", - [bool]$RunQuarantinedTests = $false + + # Capture the rest + [Parameter(ValueFromRemainingArguments = $true)] + [string[]]$MSBuildArguments ) + $ErrorActionPreference = 'Stop' $ProgressPreference = 'SilentlyContinue' # Workaround PowerShell/PowerShell#2138 @@ -43,4 +56,5 @@ Write-Host -ForegroundColor Yellow "And if packing for a different platform, add $HelixQueues = $HelixQueues -replace ";", "%3B" dotnet msbuild $Project /t:Helix /p:TargetArchitecture="$TargetArchitecture" /p:IsRequiredCheck=true ` /p:IsHelixDaily=true /p:HelixTargetQueues=$HelixQueues /p:RunQuarantinedTests=$RunQuarantinedTests ` - /p:_UseHelixOpenQueues=true /p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log + /p:_UseHelixOpenQueues=true /p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log ` + @MSBuildArguments diff --git a/eng/targets/Helix.props b/eng/targets/Helix.props index b35af95b413a..1b47d9935872 100644 --- a/eng/targets/Helix.props +++ b/eng/targets/Helix.props @@ -19,7 +19,6 @@ false true $(MSBuildProjectName)--$(TargetFramework) - false false 10.15.3 false diff --git a/eng/targets/Helix.targets b/eng/targets/Helix.targets index 1441f132126d..9440d643fbb6 100644 --- a/eng/targets/Helix.targets +++ b/eng/targets/Helix.targets @@ -120,11 +120,6 @@ - - - - - @@ -133,7 +128,7 @@ - + - $(PublishAbsoluteDir)../$(HelixTestName).zip - $(PublishAbsoluteDir) + $(PublishAbsoluteDir) $(TargetFileName) @(HelixPreCommand) @(HelixPostCommand)