diff --git a/templates/common/common-ci-cache.gitlab-ci.yml b/templates/common/common-ci-cache.gitlab-ci.yml new file mode 100644 index 0000000..5ebc06b --- /dev/null +++ b/templates/common/common-ci-cache.gitlab-ci.yml @@ -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" diff --git a/templates/common/common-ci-variablen.gitlab-ci.yml b/templates/common/common-ci-variablen.gitlab-ci.yml index 5aa84d3..da97c81 100644 --- a/templates/common/common-ci-variablen.gitlab-ci.yml +++ b/templates/common/common-ci-variablen.gitlab-ci.yml @@ -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: ##NPM / Node Settings