CICD
This commit is contained in:
parent
7381dc60a6
commit
5922f207f5
19
.gitlab-ci.yml
Normal file
19
.gitlab-ci.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user