Update .gitlab-ci.yml

master
dragontamerfred 2019-10-05 01:21:55 +02:00
parent 90bb7b67ac
commit 95fc614b94
1 changed files with 9 additions and 8 deletions

View File

@ -3,20 +3,21 @@ image: java:8-jdk
stages:
- build
#before_script:
# - echo `pwd` # debug
# - echo "$CI_BUILD_NAME, $CI_BUILD_REF_NAME $CI_BUILD_STAGE" # debug
# - export GRADLE_USER_HOME=`pwd`./gradle
before_script:
- echo `pwd` # debug
- echo "$CI_BUILD_NAME, $CI_BUILD_REF_NAME $CI_BUILD_STAGE" # debug
- export GRADLE_USER_HOME=`pwd`./gradle
#cache:
# paths:
# - .gradle/wrapper
# - .gradle/caches
cache:
paths:
- .gradle/wrapper
- .gradle/caches
build:
stage: build
script:
- ./gradlew build
- echo "$(ls $(pwd)./gradle)"
artifacts:
paths:
- build/libs/*.jar