.gitlab-ci.yml 337 Bytes
Newer Older
1 2
image: java:8

3
piri-snapshot:
4 5
  only:
    - master
6 7 8 9
  script: ./mvnw clean verify
  artifacts:
    name: "piri-snapshot"
    paths:
Georg Mittendorfer's avatar
Georg Mittendorfer committed
10
      - target/*.jar
11
    expire_in: 3 mos
12 13 14

piri-release:
  only:
15
    - tags
16
  script: ./mvnw clean verify
17
  artifacts:
18
    name: "piri-$CI_COMMIT_TAG"
19
    paths:
Georg Mittendorfer's avatar
Georg Mittendorfer committed
20
      - target/*.jar
21
    expire_in: 2 yrs
22

23