bi-ido-flight-log-public/.gitlab-ci.yml

34 lines
545 B
YAML
Raw Normal View History

2022-10-02 21:23:03 +00:00
stages:
- compile
- test
- build
.setup-mvn: &setup-mvn
- chmod a+x mvnw
variables:
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
cache:
paths:
- .m2/repository/
- "**/target/"
compile:
stage: compile
script:
- *setup-mvn
- echo "Compiling the application"
test:
stage: test
script:
- *setup-mvn
- echo "Testing the application. This step produces test reports artifacts"
build:
stage: build
script:
- *setup-mvn
- echo "Building the application. This step produces jar artifacts"