Updated config.yml

This commit is contained in:
2022-06-08 13:43:53 -05:00
parent 311c59d20f
commit 64e8b616b3

View File

@ -8,9 +8,14 @@ executors:
orbs:
maven: circleci/maven@1.3.0
# Define a job to be invoked later in a workflow.
workflows:
maven_test:
jobs:
build:
- maven/test # checkout, build, test, and upload test results
## I think this job won't run anymore, after I add a workflow. Just leaving it here for reference, and to confirm that.
jobs:
shouldnt_run:
executor: java17
steps:
# todo - ssh keys?
@ -28,10 +33,15 @@ jobs:
mkdir -p ~/test-results/junit/
find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} ~/test-results/junit/ \;
when: always
- store_test_results:
path: ~/test-results
- persist_to_workspace:
root: target
paths:
- qqq-backend-core-*.jar
- store_artifacts:
path: target/qqq-backend-core-*.jar
destination: qqq-backend-core.jar
- save_cache:
paths:
- ~/.m2