refactor(cache): Löse globalen-Cache aus common-ci-variablen heraus
Für nutzer ist es unerwartet und ggf. unerwünscht, dass beim Einbinden von Variablen ein Cache mitkommt.
This commit is contained in:
parent
1c0bbfb258
commit
0364637b0d
12
templates/common/common-ci-cache.gitlab-ci.yml
Normal file
12
templates/common/common-ci-cache.gitlab-ci.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
cache:
|
||||||
|
key: "$CI_JOB_NAME"
|
||||||
|
paths:
|
||||||
|
# Cache Maven
|
||||||
|
- .m2/repository
|
||||||
|
# Cache NPM
|
||||||
|
#- $FRONTEND_DIR/dist
|
||||||
|
# Cache Gradle
|
||||||
|
- .gradle
|
||||||
|
- '**/build'
|
||||||
|
- "**/target"
|
||||||
|
#- "**/node_modules"
|
||||||
@ -1,17 +1,3 @@
|
|||||||
cache:
|
|
||||||
key: "$CI_JOB_NAME"
|
|
||||||
paths:
|
|
||||||
# Cache Maven
|
|
||||||
- .m2/repository
|
|
||||||
# Cache NPM
|
|
||||||
#- $FRONTEND_DIR/dist
|
|
||||||
# Cache Gradle
|
|
||||||
- .gradle
|
|
||||||
- '**/build'
|
|
||||||
- "**/target"
|
|
||||||
#- "**/node_modules"
|
|
||||||
|
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
|
|
||||||
##NPM / Node Settings
|
##NPM / Node Settings
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user