Skip to content
Permalink
Browse files
NO-JIRA: move to 'on_finish' since 'after_test' doesnt always run aft…
…er the tests, push artifact manually since 'artifacts' hook doesnt always run
  • Loading branch information
gemmellr committed Jan 5, 2016
1 parent 3ee9083 commit b32a56b2e58ea8cb853a0fb9bfae62fec8649caa
Showing 1 changed file with 2 additions and 5 deletions.
@@ -23,13 +23,10 @@ build_script:
test_script:
- mvn clean install -B

after_test:
on_finish:
- ps: |
7z a -r surefire-reports.zip '**\target\surefire-reports\*'
artifacts:
- path: 'surefire-reports.zip'
name: 'Surefire Reports'
Push-AppveyorArtifact surefire-reports.zip -DeploymentName 'Surefire Reports'
cache:
- C:\maven\apache-maven-3.3.3

0 comments on commit b32a56b

Please sign in to comment.