Skip to content
Snippets Groups Projects
Commit f703c446 authored by Mikaël Barbero's avatar Mikaël Barbero :dagger: Committed by Christopher Guindon
Browse files

Prevents cache collisions between jobs


Signed-off-by: default avatarMikaël Barbero <mikael.barbero@eclipse-foundation.org>
parent 029a0439
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
pipeline {
agent {
kubernetes {
label 'buildpack-agent'
label 'buildpack-agent-' + env.JOB_NAME.replaceAll("/", "-")
yaml '''
apiVersion: v1
kind: Pod
......@@ -156,7 +156,7 @@
stage('Deploy to cluster') {
agent {
kubernetes {
label 'kubedeploy-agent'
label 'kubedeploy-agent-' + env.JOB_NAME.replaceAll("/", "-")
yaml '''
apiVersion: v1
kind: Pod
......@@ -207,4 +207,4 @@
sendNotifications currentBuild
}
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment