haiti-framework/.gitlab-ci.yml
Struchkov Mark 1c5d5ad5d7 CICD
2022-01-21 18:13:24 +03:00

17 lines
311 B
YAML

image: 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 -P release clean deploy'
artifacts:
paths:
- backend/target/*.jar