From 494951210d8fe36d39822fd1a340b102d3496944 Mon Sep 17 00:00:00 2001 From: Jeremy Rimpo Date: Tue, 21 May 2019 16:37:20 -0500 Subject: Add logs to build artifacts on failure --- appveyor.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 7ed85109..f1ccff60 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -25,6 +25,8 @@ on_success: - ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1 - ps: ./send.ps1 success $env:WEBHOOK_URL on_failure: + - appveyor PushArtifact stdout.log + - appveyor PushArtifact stderr.log - ps: Set-Location -Path $env:APPVEYOR_BUILD_FOLDER - ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1 - - ps: ./send.ps1 failure $env:WEBHOOK_URL \ No newline at end of file + - ps: ./send.ps1 failure $env:WEBHOOK_URL -- cgit v1.3.1