Files
netneutrality/.gitlab-ci.yml
T

33 lines
511 B
YAML

image: maven:3-jdk-11
variables:
MAVEN_CLI_OPTS: "-s .m2/settings.xml --batch-mode"
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
cache:
paths:
- .m2/repository/
- target/
stages:
- compile
- test
- package
compile:
stage: compile
script:
- "mvn --batch-mode compile"
test:
stage: test
script:
- "mvn --batch-mode test"
package:
stage: package
script:
- "mvn --batch-mode package"
artifacts:
paths:
- target/netneutrality-jar-with-dependencies.jar