From 9a13fb5bac5169d2c774aec867e5992cc3fa4a33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Barbero?= Date: Mon, 23 Nov 2020 16:22:09 +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 5a9c37f..f552b6d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,7 @@ pipeline { agent { kubernetes { - label 'kubedeploy-agent' + label 'kubedeploy-agent-' + env.JOB_NAME.replaceAll("/", "-") yaml ''' apiVersion: v1 kind: Pod -- GitLab