Commit 98f519fd authored by René Schöne's avatar René Schöne Committed by Johannes Mey
Browse files

Resolve "Use cache in CI for gradle"

parent 2852ddfd
...@@ -2,11 +2,19 @@ stages: ...@@ -2,11 +2,19 @@ stages:
- build - build
- test - test
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
cache:
paths:
- .gradle/wrapper
- .gradle/caches
build: build:
image: openjdk:8 image: openjdk:8
stage: build stage: build
script: script:
- ./gradlew --console=plain assemble jar - ./gradlew --console=plain --no-daemon assemble jar
artifacts: artifacts:
paths: paths:
- "/builds/jastadd/relational-rags/build/libs/relast-*.jar" - "/builds/jastadd/relational-rags/build/libs/relast-*.jar"
...@@ -15,4 +23,4 @@ test: ...@@ -15,4 +23,4 @@ test:
image: openjdk:8 image: openjdk:8
stage: test stage: test
script: script:
- ./gradlew --console=plain --info test - ./gradlew --console=plain --no-daemon --info test
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment