Commit 132452d5 authored by Ubbo Veentjer's avatar Ubbo Veentjer
Browse files

initial .gitlab-ci.yml

parent 9ef468f7
image: maven:latest
variables:
MAVEN_CLI_OPTS: "-s .m2/settings.xml --batch-mode"
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
cache:
paths:
- .m2/repository/
- **/target/
build:
stage: build
script:
- mvn $MAVEN_CLI_OPTS package
artifacts:
paths:
- p2repository/target/repository/
deploy:
stage: deploy
dependencies:
- build
script:
- mkdir public
- cp p2repository/target/repository public/repository
# only:
# - master
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment