Skip to content

Commit

Permalink
chore: Update Circle config to new Orb (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
hantsy authored May 4, 2022
1 parent bbb85b1 commit e36cf88
Showing 1 changed file with 9 additions and 27 deletions.
36 changes: 9 additions & 27 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,12 @@
version: 2.1
jobs:
build:
parameters:
jdk-version:
type: string
working_directory: ~/circleci-arquillian-container-glassfish-jakarta
executors:
java11:
docker:
- image: circleci/openjdk:<< parameters.jdk-version >>
steps:
- checkout
- restore_cache:
key: circleci-arquillian-container-glassfish-jakarta-{{ checksum "pom.xml" }}
- run: ./mvnw verify -q -U -DskipTests # pre-fetch dependencies (dependency:resolve fails)
- run: ./mvnw verify
- store_test_results:
path: target/surefire-reports
- save_cache:
paths:
- ~/.m2
key: circleci-arquillian-container-glassfish-jakarta-{{ checksum "pom.xml" }}

- image: 'cimg/openjdk:11.0'
orbs:
maven: circleci/[email protected]
version: 2.1
workflows:
version: 2.1
circleci_build:
maven_test:
jobs:
- build:
matrix:
parameters:
jdk-version: ["8", "11"]
- maven/test:
executor: java11

0 comments on commit e36cf88

Please sign in to comment.