From b4220d5c23f3b6b6274af57479b55e3f86850080 Mon Sep 17 00:00:00 2001 From: Hao Kung Date: Fri, 20 Mar 2020 15:17:39 -0700 Subject: [PATCH] [Helix] Also upload logs from windows queues (#20005) --- eng/helix/content/runtests.cmd | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eng/helix/content/runtests.cmd b/eng/helix/content/runtests.cmd index ce069ddcd6..6dec0880d5 100644 --- a/eng/helix/content/runtests.cmd +++ b/eng/helix/content/runtests.cmd @@ -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%