I used the new Circle v2.1 format, and declare an executor using the latest OpenJDK and mongo, but the mongo container always failed when running the pipeline.
version: 2.1
orbs:
maven: circleci/maven@1.4.0
codecov: codecov/codecov@3.2.4
executors:
docker-mongo:
docker:
- image: cimg/openjdk:19.0.1
- image: mongo:6
jobs:
build:
executor: docker-mongo
steps:
- checkout
- maven/with_cache:
steps:
- run: mvn -q test verify -Pcoverage
- maven/process_test_results
- codecov/upload:
when: on_success
workflows:
build:
jobs:
- build
See the build errors on Circle CI: https://app.circleci.com/pipelines/github/hantsy/spring-reactive-jwt-sample/469/workflows/e04f6c58-1099-4821-b9c4-21ab96b22337/jobs/480