17 lines
317 B
YAML
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 |