From dc97bbb74362d4342f832749028a3ebb5da9e2e9 Mon Sep 17 00:00:00 2001 From: Gravit Date: Tue, 17 Mar 2020 05:15:46 +0700 Subject: [PATCH] [ANY] Final gitlab ci --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e4538f66..95b726b1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -41,6 +41,7 @@ build: - cp modules/*_swmodule/build/libs/*.jar artifacts/modules - cp modules/*_lmodule/build/libs/*.jar artifacts/modules cache: + key: "$CI_COMMIT_REF_NAME" paths: - .gradle - LaunchServer/build @@ -59,6 +60,8 @@ test: script: - gradle check cache: + key: "$CI_COMMIT_REF_NAME" + policy: pull paths: - .gradle - LaunchServer/build @@ -74,6 +77,8 @@ deploy-demo: - gradle build - eval $(ssh $SSH_USER@$SSH_HOST 'cd $SSH_DIR && cat deploy.sh') cache: + key: "$CI_COMMIT_REF_NAME" + policy: pull paths: - .gradle - LaunchServer/build