Skip to content

Commit 7f45211

Browse files
authored
[TEST] Upload windows event logs
1 parent ff7e42e commit 7f45211

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

eng/targets/Helix.targets

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
<HelixPreCommand Condition="'$(IsWindowsHelixQueue)' != 'true' AND '$(IsMacHelixQueue)' != 'true'" Include="./installjdk.sh 10.0.2 x64 &amp;&amp; if [ &quot;%24JAVA_HOME&quot; = &quot;&quot; ]%3B then export JAVA_HOME=%24PWD/java%3B fi" />
55
</ItemGroup>
66

7+
<ItemGroup>
8+
<HelixPostCommand Condition="'$(IsWindowsHelixQueue)' == 'true'" Include="xcopy /s C:\Windows\System32\winevt\Logs %HELIX_WORKITEM_UPLOAD_ROOT%25" />
9+
</ItemGroup>
10+
11+
712
<ItemGroup Condition="'$(TestDependsOnMssql)' == 'true' AND '$(IsWindowsHelixQueue)' == 'true' AND '$(IsArm64HelixQueue)' != 'true'">
813
<HelixPreCommand Include="call RunPowershell.cmd mssql\InstallSqlServerLocalDB.ps1 || exit /b 1" />
914
</ItemGroup>

0 commit comments

Comments
 (0)