From 95fd75404245d951f2b359cda5789690c8447182 Mon Sep 17 00:00:00 2001
From: Robert Scott <code@humanleg.org.uk>
Date: Tue, 21 Aug 2018 23:18:20 +0100
Subject: [PATCH v1 1/2] appveyor: attempt to push test results on_finish
rather than after_test
...so that we also keep results of failures
---
appveyor.yml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/appveyor.yml b/appveyor.yml
index db3e06c02..bb394d73b 100644
a
|
b
|
on_finish: |
14 | 14 | Foreach-Object { |
15 | 15 | $wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $_)) |
16 | 16 | } |
| 17 | # we want to push test result artifact even if the tests fail, so uploading manually |
| 18 | - 7z a test-results.zip test\report\TEST*.xml |
| 19 | - ps: Push-AppveyorArtifact test-results.zip |
17 | 20 | artifacts: |
18 | 21 | - path: dist\josm-custom.* |
19 | 22 | - path: checkstyle-josm.xml |
20 | 23 | - path: pmd-josm.xml |
21 | 24 | - path: spotbugs-josm.xml |
22 | | - path: test\report |
23 | | type: zip |
24 | 25 | - path: hs_err_pid*.log |