From edc00b95f707d962c660affb1f6c61955ef958b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Rohde=20D=C3=B8ssing?= Date: Mon, 22 Apr 2019 15:08:23 +0200 Subject: [PATCH] Fix #328 Publish integration test build directory when Appveyor build fails --- appveyor.yml | 4 ++++ src/it/ISSUE-7/postbuild.groovy | 1 + 2 files changed, 5 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 5465039af..a195f58cb 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -12,3 +12,7 @@ build_script: cache: - C:\Users\appveyor\.m2\repository - C:\Users\appveyor\.m2\wrapper + +on_failure: + - 7z a it-logs.zip target\it\**\* + - appveyor PushArtifact it-logs.zip \ No newline at end of file diff --git a/src/it/ISSUE-7/postbuild.groovy b/src/it/ISSUE-7/postbuild.groovy index 7cda4340d..2a4b959b6 100644 --- a/src/it/ISSUE-7/postbuild.groovy +++ b/src/it/ISSUE-7/postbuild.groovy @@ -44,5 +44,6 @@ assertExistsFile(file); content = file.text; assert assertContains(file, content, '/*-'); +assert false; return true;