UltimateTimber/.gitlab-ci.yml

20 lines
280 B
YAML
Raw Normal View History

2019-04-23 02:34:31 +02:00
image: gradle:alpine
2018-11-06 09:22:09 +01:00
variables:
2019-03-30 04:59:10 +01:00
path: "/builds/$CI_PROJECT_PATH"
2019-04-23 02:34:31 +02:00
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
stages:
- build
2018-11-06 09:22:09 +01:00
build:
stage: build
script:
2019-04-23 02:34:31 +02:00
- gradle build
- mv $path/build/libs/*.jar $path/
2018-11-06 09:22:09 +01:00
artifacts:
paths:
2019-04-23 02:34:31 +02:00
- $path/*.jar