Use users home directory to store junit reports

This commit is contained in:
Ryan Baxter
2018-03-18 11:28:58 -04:00
parent 01c6ff7951
commit ccf295ec49

View File

@@ -29,12 +29,12 @@ jobs:
name: "Aggregate test results"
when: always
command: |
mkdir -p $CIRCLE_TEST_REPORTS/junit/
find . -type f -regex ".*/target/.*-reports/.*" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
mkdir -p $HOME/$CIRCLE_TEST_REPORTS/junit/
find . -type f -regex ".*/target/.*-reports/.*" -exec cp {} $HOME/$CIRCLE_TEST_REPORTS/junit/ \;
bash <(curl -s https://codecov.io/bash)
- store_artifacts:
path: /junit/
path: $HOME/$CIRCLE_TEST_REPORTS/junit/
destination: artifacts
- store_test_results:
path: /junit/
path: $HOME/$CIRCLE_TEST_REPORTS/junit/
destination: testartifacts