Update .gitlab-ci.yml
parent
90bb7b67ac
commit
95fc614b94
|
@ -3,20 +3,21 @@ image: java:8-jdk
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
|
||||||
#before_script:
|
before_script:
|
||||||
# - echo `pwd` # debug
|
- echo `pwd` # debug
|
||||||
# - echo "$CI_BUILD_NAME, $CI_BUILD_REF_NAME $CI_BUILD_STAGE" # debug
|
- echo "$CI_BUILD_NAME, $CI_BUILD_REF_NAME $CI_BUILD_STAGE" # debug
|
||||||
# - export GRADLE_USER_HOME=`pwd`./gradle
|
- export GRADLE_USER_HOME=`pwd`./gradle
|
||||||
|
|
||||||
#cache:
|
cache:
|
||||||
# paths:
|
paths:
|
||||||
# - .gradle/wrapper
|
- .gradle/wrapper
|
||||||
# - .gradle/caches
|
- .gradle/caches
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- ./gradlew build
|
- ./gradlew build
|
||||||
|
- echo "$(ls $(pwd)./gradle)"
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- build/libs/*.jar
|
- build/libs/*.jar
|
||||||
|
|
Reference in New Issue