haiti-framework/.gitlab-ci.yml
Struchkov Mark 491138cd70 CICD
2022-01-21 18:18:56 +03:00

17 lines
314 B
YAML

image: maven:3.8.4-openjdk-11-slim
variables:
MAVEN_OPTS: "-Dmaven.repo.local=./.m2/repository"
stages:
- build
- deploy
build:
stage: build
only:
- /^release-.*$/
script:
- 'mvn --settings $MAVEN_SETTINGS -U -P ossrh,release clean deploy'
artifacts:
paths:
- backend/target/*.jar