ci-cd-test/.gitlab-ci.yml

23 lines
280 B
YAML
Raw Normal View History

2024-10-19 16:05:29 +02:00
image: maven:3.8.8-openjdk-21-slim
variables:
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
cache:
paths:
- .m2/repository
stages:
- build
- test
- integration-test
build:
stage: build
script:
- mvn compile
test:
stage: test
script:
- mvn test