From 55ed8f5cf60df4bc3b23b6d1be1ca9298b71faeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Barbero?= Date: Mon, 23 Nov 2020 16:14:33 +0100 Subject: [PATCH] Prevents cache collisions between jobs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mikaƫl Barbero --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index afa33fb..3a1d24c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,7 +13,7 @@ def environmentFromBranch(branch) { pipeline { agent { kubernetes { - label 'kubedeploy-agent' + label 'kubedeploy-agent-' + env.JOB_NAME.replaceAll("/", "-") yaml ''' apiVersion: v1 kind: Pod -- GitLab