Update .gitlab-ci.yml file

main
Jonah Bauer 3 years ago
parent ee6b7d7c2d
commit 3ff2fdfeda

@ -0,0 +1,19 @@
image: maven:3.8.3-openjdk-17
cache:
paths:
- .m2/repository
variables:
MAVEN_OPTS: "-Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository"
MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version"
verify:
stage: test
script:
- 'mvn $MAVEN_CLI_OPTS verify'
artifacts:
when: always
reports:
junit:
- "**/target/surefire-reports/TEST-*.xml"
Loading…
Cancel
Save