haiti-framework/.gitlab-ci.yml
Struchkov Mark 158bbd2e5d CICD
2022-01-21 18:17:07 +03:00

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