Commit 091df7bc authored by Johannes Mey's avatar Johannes Mey
Browse files

Merge branch '27-use-cache-in-ci-for-gradle' into 'develop'

Resolve "Use cache in CI for gradle"

Closes #27

See merge request !16
parents 2852ddfd 98f519fd
Pipeline #6358 passed with stages
in 2 minutes and 50 seconds
......@@ -2,11 +2,19 @@ stages:
- build
- test
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
cache:
paths:
- .gradle/wrapper
- .gradle/caches
build:
image: openjdk:8
stage: build
script:
- ./gradlew --console=plain assemble jar
- ./gradlew --console=plain --no-daemon assemble jar
artifacts:
paths:
- "/builds/jastadd/relational-rags/build/libs/relast-*.jar"
......@@ -15,4 +23,4 @@ test:
image: openjdk:8
stage: test
script:
- ./gradlew --console=plain --info test
- ./gradlew --console=plain --no-daemon --info test
Markdown is supported
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