Ticket #16680: v1-0001-appveyor-attempt-to-push-test-results-on_finish-r.patch

File v1-0001-appveyor-attempt-to-push-test-results-on_finish-r.patch, 1.0 KB (added by ris, 7 months ago)
  • appveyor.yml

    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: 
    1414        Foreach-Object {
    1515            $wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $_))
    1616        }
     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
    1720artifacts:
    1821  - path: dist\josm-custom.*
    1922  - path: checkstyle-josm.xml
    2023  - path: pmd-josm.xml
    2124  - path: spotbugs-josm.xml
    22   - path: test\report
    23     type: zip
    2425  - path: hs_err_pid*.log