Repository: qpid-jms
Updated Branches:
  refs/heads/master 0d7ca101b -> a879fa3e4


NO-JIRA: only archive the surefire reports dirs upon job failure


Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/a879fa3e
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/a879fa3e
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/a879fa3e

Branch: refs/heads/master
Commit: a879fa3e463d17aa073ddd584386218903dd842c
Parents: 0d7ca10
Author: Robert Gemmell <[email protected]>
Authored: Wed Jan 6 15:21:24 2016 +0000
Committer: Robert Gemmell <[email protected]>
Committed: Wed Jan 6 15:21:24 2016 +0000

----------------------------------------------------------------------
 appveyor.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/a879fa3e/appveyor.yml
----------------------------------------------------------------------
diff --git a/appveyor.yml b/appveyor.yml
index 54b687b..cb72fd2 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -23,6 +23,11 @@ build_script:
 test_script:
   - mvn clean install -B
 
+on_failure:
+  - ps: |
+      7z a -r surefire-reports.zip '**\target\surefire-reports\*'
+      Push-AppveyorArtifact surefire-reports.zip -DeploymentName 'Surefire 
Reports'
+
 on_finish:
   - ps: |
       $url = 
"https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)"
@@ -36,8 +41,6 @@ on_finish:
           $wc.UploadFile($url, (Resolve-Path $file.FullName))
         }
       }
-      7z a -r surefire-reports.zip '**\target\surefire-reports\*'
-      Push-AppveyorArtifact surefire-reports.zip -DeploymentName 'Surefire 
Reports'
 
 cache:
   - C:\maven\apache-maven-3.3.3


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to