2020-09-30 14:40:14 +02:00
|
|
|
image: gradle:alpine
|
|
|
|
|
|
|
|
variables:
|
|
|
|
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- export GRADLE_USER_HOME=`pwd`/.gradle
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
stage: deploy
|
2020-11-21 21:51:03 +01:00
|
|
|
script:
|
|
|
|
- gradle --build-cache assemble
|
|
|
|
- cp build/libs/* ./
|
|
|
|
- rm *-dev.jar
|
|
|
|
- mv *.jar latest.jar
|
2020-09-30 14:40:14 +02:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- build/libs
|
2020-11-21 21:51:03 +01:00
|
|
|
- latest.jar
|
2020-09-30 14:40:14 +02:00
|
|
|
only:
|
|
|
|
- master
|