From 64e8b616b394f17983208c28a891ba11227a16b4 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 8 Jun 2022 13:43:53 -0500 Subject: [PATCH] Updated config.yml --- .circleci/config.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index adab6639..3057e395 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: + - 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: - build: + 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 + - qqq-backend-core-*.jar + - store_artifacts: + path: target/qqq-backend-core-*.jar + destination: qqq-backend-core.jar - save_cache: paths: - ~/.m2