From 859d60f81824ecdc415d4364f700956a1a264909 Mon Sep 17 00:00:00 2001 From: Alexander Block Date: Wed, 16 Oct 2019 18:59:33 +0200 Subject: [PATCH] Don't use $CACHE_DIR in after_script (#3159) This variable is not available here. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 91e02dce64..61c950311d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -101,7 +101,7 @@ stages: - mkdir -p $CI_PROJECT_DIR/testlogs - | if [ "$CI_COMMIT_REF_SLUG" = "develop" ]; then - cp -ra $CACHE_DIR/* $CI_PROJECT_DIR/cache-artifact/ + cp -ra $CI_PROJECT_DIR/cache/* $CI_PROJECT_DIR/cache-artifact/ fi # We're actually only interested in the develop branch creating the cache artifact, but there is no way to control this