From 7f2a43f8864a0e3c1c939f40620de22d952b084c Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Wed, 2 Mar 2022 00:09:19 -0600 Subject: Export event logs to try to diagnose E2E test failures. --- appveyor.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'appveyor.yml') diff --git a/appveyor.yml b/appveyor.yml index 7cfc64bf..b69e2974 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -28,6 +28,8 @@ after_build: - 7z a "build\testresults.zip" @src\testresultfilelist.txt on_finish: + - wevtutil epl Application build\logs\Application.evtx /q:"Event/System/TimeCreated[timediff(@SystemTime) <= 86400000]" + - wevtutil epl System build\logs\System.evtx /q:"Event/System/TimeCreated[timediff(@SystemTime) <= 86400000]" - ps: 7z a ('temp_logs_' + (Get-Date).tostring("yyyyMMddHHmmss") + '.zip') $env:TEMP\*.log $env:TEMP\..\*.log - ps: 7z a ('build_logs_' + (Get-Date).tostring("yyyyMMddHHmmss") + '.zip') build\logs\ build\logs\TestResults\ - ps: Push-AppveyorArtifact temp_logs_*.zip -- cgit v1.2.3-55-g6feb