forked from pierront/ci-cd-test
first commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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
|
||||
Reference in New Issue
Block a user