From 4014472fab0c2a7c7f6481ea0e24a99411b1753a Mon Sep 17 00:00:00 2001 From: Marcel Feix Date: Thu, 3 Nov 2022 10:21:49 +0000 Subject: [PATCH] chore(Cache): Share cache within a pipeline not within jobs --- templates/common/common-ci-cache.gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/common/common-ci-cache.gitlab-ci.yml b/templates/common/common-ci-cache.gitlab-ci.yml index 5ebc06b..22de4ee 100644 --- a/templates/common/common-ci-cache.gitlab-ci.yml +++ b/templates/common/common-ci-cache.gitlab-ci.yml @@ -1,5 +1,5 @@ cache: - key: "$CI_JOB_NAME" + key: "$CI_COMMIT_REF_SLUG" paths: # Cache Maven - .m2/repository