.gitlab-ci.yml 303 Bytes
Newer Older
Matthias Betz's avatar
Matthias Betz committed
1
2
variables:
  JAVA_HOME: "/usr/lib/jvm/java-1.8.0-openjdk-amd64"
3
4


Matthias Betz's avatar
Matthias Betz committed
5
build:
Matthias Betz's avatar
Matthias Betz committed
6
    script:
Matthias Betz's avatar
Matthias Betz committed
7
8
9
10
        - mvn package -B
        
release:
    script:
Matthias Betz's avatar
Matthias Betz committed
11
        - mvn package -B
Matthias Betz's avatar
Matthias Betz committed
12
        - echo "create release"
Matthias Betz's avatar
Matthias Betz committed
13
        - FILE= ls target/ | grep *.zip | head -n 1
Matthias Betz's avatar
Matthias Betz committed
14
15
    only:
        refs:
Matthias Betz's avatar
Matthias Betz committed
16
            - master
Matthias Betz's avatar
Matthias Betz committed
17