2019-04-15 11:11:10 +02:00
|
|
|
image: gradle:alpine
|
2018-11-22 23:23:56 +01:00
|
|
|
|
2019-04-15 12:31:47 +02:00
|
|
|
variables:
|
|
|
|
path: "/builds/$CI_PROJECT_PATH"
|
|
|
|
|
2019-04-15 11:11:10 +02:00
|
|
|
before_script:
|
2019-04-15 12:19:38 +02:00
|
|
|
- export GRADLE_USER_HOME=`pwd`/.gradle
|
2019-04-15 11:11:10 +02:00
|
|
|
|
|
|
|
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:19:38 +02:00
|
|
|
- gradle build
|
2019-04-15 12:31:47 +02:00
|
|
|
- mv $path/build/libs/*.jar $path/
|
2018-11-22 23:23:56 +01:00
|
|
|
artifacts:
|
|
|
|
paths:
|
2019-04-15 12:31:47 +02:00
|
|
|
- $path/*.jar
|