Ci: Enable configuration-cache via flag and warn on problems
This commit is contained in:
+4
-4
@@ -30,7 +30,7 @@ checkstyle:
|
|||||||
stage: lint
|
stage: lint
|
||||||
image: gradle:9.3.1-jdk25
|
image: gradle:9.3.1-jdk25
|
||||||
script:
|
script:
|
||||||
- gradle checkstyleMain checkstyleTest
|
- gradle checkstyleMain checkstyleTest --configuration-cache --configuration-cache-problems=warn
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
artifacts:
|
artifacts:
|
||||||
when: always
|
when: always
|
||||||
@@ -47,7 +47,7 @@ checkstyle-mr:
|
|||||||
stage: lint
|
stage: lint
|
||||||
image: gradle:9.3.1-jdk25
|
image: gradle:9.3.1-jdk25
|
||||||
script:
|
script:
|
||||||
- gradle checkstyleMain checkstyleTest
|
- gradle checkstyleMain checkstyleTest --configuration-cache --configuration-cache-problems=warn
|
||||||
allow_failure: false
|
allow_failure: false
|
||||||
artifacts:
|
artifacts:
|
||||||
when: always
|
when: always
|
||||||
@@ -82,7 +82,7 @@ compile-check:
|
|||||||
stage: build
|
stage: build
|
||||||
image: gradle:9.3.1-jdk25
|
image: gradle:9.3.1-jdk25
|
||||||
script:
|
script:
|
||||||
- gradle compileTestJava
|
- gradle compileTestJava --configuration-cache --configuration-cache-problems=warn
|
||||||
needs: []
|
needs: []
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||||
@@ -95,7 +95,7 @@ test:
|
|||||||
stage: test
|
stage: test
|
||||||
image: gradle:9.3.1-jdk25
|
image: gradle:9.3.1-jdk25
|
||||||
script:
|
script:
|
||||||
- gradle test
|
- gradle test --configuration-cache --configuration-cache-problems=warn
|
||||||
artifacts:
|
artifacts:
|
||||||
when: always
|
when: always
|
||||||
reports:
|
reports:
|
||||||
|
|||||||
Reference in New Issue
Block a user