Skip to content
Snippets Groups Projects
Commit 95ea3c06 authored by TheSkeletonGentleman's avatar TheSkeletonGentleman
Browse files

ci

parent 741a36c4
No related branches found
No related tags found
No related merge requests found
stages:
- build
- test
- package
variables:
MAVEN_OPTS: "-Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository"
cache:
key: maven
paths:
- .m2/repository/
construire:
stage: build
script:
- mvn clean package
artifacts:
paths:
- target/
expire_in: 1 hour
tester:
stage: test
script:
- mvn test
empaqueter:
stage: package
script:
- mvn package
artifacts:
paths:
- target/*.jar
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment