[Helix] Also upload logs from windows queues (#20005)

This commit is contained in:
Hao Kung 2020-03-20 15:17:39 -07:00 committed by GitHub
parent a77ff91017
commit b4220d5c23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -95,6 +95,12 @@ if %$quarantined%==true (
echo "Copying TestResults\TestResults.xml to ."
copy TestResults\TestResults.xml testResults.xml
echo "Copying artifacts/logs to %HELIX_WORKITEM_UPLOAD_ROOT%\..\"
for /R artifacts/log %%f in (*.log) do (
echo "Copying: %%f"
copy "%%f" %HELIX_WORKITEM_UPLOAD_ROOT%\..\
copy "%%f" %HELIX_WORKITEM_UPLOAD_ROOT%\
)
exit /b %exit_code%