This commit is contained in:
Struchkov Mark 2022-01-21 18:12:52 +03:00
parent 7381dc60a6
commit 5922f207f5

19
.gitlab-ci.yml Normal file
View File

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