diff options
| author | Jeremy Rimpo <jrim@rimpo.org> | 2019-05-21 16:37:20 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-21 16:37:20 -0500 |
| commit | 494951210d8fe36d39822fd1a340b102d3496944 (patch) | |
| tree | 37bdb5c1e05a8c33008673fee2fb4cc2746b78d9 | |
| parent | 0e5adf171f7cd2e0446ac15cb560a5fa727d7536 (diff) | |
Add logs to build artifacts on failure
| -rw-r--r-- | appveyor.yml | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
