2019-04-15 11:11:10 +02:00
|
|
|
image: gradle:alpine
|
2018-11-22 23:23:56 +01:00
|
|
|
|
2019-01-25 20:56:44 +01:00
|
|
|
variables:
|
2019-04-13 06:09:25 +02:00
|
|
|
path: "/builds/$CI_PROJECT_PATH"
|
2019-01-25 20:56:44 +01:00
|
|
|
|
2019-04-15 11:11:10 +02:00
|
|
|
before_script:
|
|
|
|
- export GRADLE_USER_HOME=$path/.gradle
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
|
2018-11-22 23:23:56 +01:00
|
|
|
build:
|
|
|
|
stage: build
|
2019-01-25 20:56:44 +01:00
|
|
|
script:
|
2019-04-15 12:07:08 +02:00
|
|
|
- gradle assemble
|
2019-04-15 12:02:43 +02:00
|
|
|
- ls -lR
|
2019-04-15 12:00:23 +02:00
|
|
|
- mv $path/build/libs/*.jar $path/
|
2018-11-22 23:23:56 +01:00
|
|
|
artifacts:
|
|
|
|
paths:
|
2019-04-15 11:11:10 +02:00
|
|
|
- $path/*.jar
|