Update .gitlab-ci.yml
parent
90bb7b67ac
commit
95fc614b94
|
@ -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
|
||||
|
|
Reference in New Issue