Update .gitlab-ci.yml file

This commit is contained in:
J. Fronny 2021-04-11 14:49:59 +00:00
parent de4a25b900
commit fdcdb6d9fa

21
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,21 @@
image: gradle:alpine
variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
build_test:
stage: deploy
script:
- gradle --build-cache assemble
- cp build/libs/* ./
- rm *-dev.jar
- mv *.jar latest.jar
artifacts:
paths:
- build/libs
- latest.jar
only:
- master