Combit/.gitlab-ci.yml

22 lines
358 B
YAML
Raw Normal View History

2020-10-27 20:13:31 +01: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:06 +01:00
script:
- gradle --build-cache assemble
- cp build/libs/* ./
- rm *-dev.jar
- mv *.jar latest.jar
2020-10-27 20:13:31 +01:00
artifacts:
paths:
- build/libs
2020-11-21 21:51:06 +01:00
- latest.jar
2020-10-27 20:13:31 +01:00
only:
- master