Skip to content
Snippets Groups Projects
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
Branches
No related tags found
2 merge requests!200.4.0,!16Resolve "Use cache in CI for gradle"
Pipeline #6358 passed
...@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment