Fix Helix log upload (#20258)
This commit is contained in:
parent
e79ba297fd
commit
2766f202a2
|
|
@ -156,8 +156,7 @@ fi
|
|||
|
||||
echo "Copying TestResults/TestResults to ."
|
||||
cp TestResults/TestResults.xml testResults.xml
|
||||
echo "Copying artifacts/logs to $HELIX_WORKITEM_UPLOAD_ROOT/../"
|
||||
shopt -s globstar
|
||||
cp artifacts/log/**/*.log $HELIX_WORKITEM_UPLOAD_ROOT/../
|
||||
cp artifacts/log/**/*.log $HELIX_WORKITEM_UPLOAD_ROOT/
|
||||
echo "Copying artifacts/logs to $HELIX_WORKITEM_UPLOAD_ROOT/"
|
||||
cp `find . -name \*.log` $HELIX_WORKITEM_UPLOAD_ROOT/../
|
||||
cp `find . -name \*.log` $HELIX_WORKITEM_UPLOAD_ROOT/
|
||||
exit $exit_code
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ param(
|
|||
[Parameter(Mandatory=$true)]
|
||||
[string]$Project,
|
||||
[string]$HelixQueues = "Windows.10.Amd64.Open",
|
||||
[string]$TargetArchitecture = "",
|
||||
[string]$TargetArchitecture = "x64",
|
||||
[bool]$RunQuarantinedTests = $false
|
||||
)
|
||||
$ErrorActionPreference = 'Stop'
|
||||
|
|
@ -39,4 +39,4 @@ $env:BUILD_REPOSITORY_NAME="aspnetcore"
|
|||
$env:SYSTEM_TEAMPROJECT="aspnetcore"
|
||||
|
||||
$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
|
||||
dotnet msbuild $Project /t:Helix /p:TargetArchitecture="$TargetArchitecture" /p:IsRequiredCheck=true /p:IsHelixDaily=true /p:HelixTargetQueues=$HelixQueues /p:RunQuarantinedTests=$RunQuarantinedTests /p:_UseHelixOpenQueues=true /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
|
||||
Loading…
Reference in New Issue