.gitlab-ci.yml 473 Bytes
Newer Older
alexander.weigl's avatar
alexander.weigl committed
1 2
image: key-ant-openjdk-8:latest

alexander.weigl's avatar
alexander.weigl committed
3

alexander.weigl's avatar
alexander.weigl committed
4 5


alexander.weigl's avatar
alexander.weigl committed
6 7 8 9 10 11
cache:
  paths:
    - .m2/

variables:
  MAVEN_OPTS: -Dmaven.repo.local=${CI_PROJECT_DIR}/.m2
12
  GIT_SUBMODULE_STRATEGY: recursive
13
  GIT_SSL_NO_VERIFY: "true"
14

alexander.weigl's avatar
alexander.weigl committed
15 16
  

alexander.weigl's avatar
alexander.weigl committed
17
build:
alexander.weigl's avatar
alexander.weigl committed
18 19 20 21 22 23
  script: "mvn compile -B -T 2"


test: 
  script: "mvn test -B"

alexander.weigl's avatar
alexander.weigl committed
24 25
deploy:
  script: 
alexander.weigl's avatar
alexander.weigl committed
26
    - "mvn package site:site -DperformRelease=true -DcreateChecksum=true -DskipTests=true -B"
alexander.weigl's avatar
alexander.weigl committed
27 28 29
  artifacts: 
    paths:
      - target/*jar
alexander.weigl's avatar
alexander.weigl committed
30 31
      - target/site/*
  allow_failure: true