Fix, try caching gradle

This commit is contained in:
Mirco 2024-07-09 14:43:53 +02:00
parent f1fcdba612
commit 38edbbfb94

View file

@ -5,8 +5,8 @@ stages:
.img: &img .img: &img
image: openjdk:22-jdk-slim image: openjdk:22-jdk-slim
before_script: before_script:
- echo "___________________START :: before_script_________________________" - echo "___________________START_before_script________________________"
- echo "${CI_COMMIT_REF_SLUG}" - echo ${CI_COMMIT_REF_SLUG}
- apt-get update && apt-get -qqy upgrade - apt-get update && apt-get -qqy upgrade
cache: cache:
- key: ${CI_COMMIT_REF_SLUG} - key: ${CI_COMMIT_REF_SLUG}
@ -14,7 +14,6 @@ stages:
- .gradle/wrapper - .gradle/wrapper
- .gradle/caches - .gradle/caches
test: test:
<<: *img <<: *img
stage: test stage: test
@ -27,6 +26,6 @@ build:
script: script:
- ./gradlew clean build -Pvaadin.productionMode - ./gradlew clean build -Pvaadin.productionMode
after_script: after_script:
echo "_____________end_________________" - echo "_____________end_________________"