.gitlab-ci.yml 389 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 12 13 14
cache:
  paths:
    - .m2/

variables:
  MAVEN_OPTS: -Dmaven.repo.local=${CI_PROJECT_DIR}/.m2
  
  

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


test: 
  script: "mvn test -B"

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