diff --git a/Jenkinsfile b/Jenkinsfile index 19a1dc23..cc388f44 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,8 +1,10 @@ +def podLabel = 'storm-backend-server_' + JOB_BASE_NAME.replaceAll('%2F','').replaceAll("[^a-zA-Z0-9]+","") + '-' + BUILD_NUMBER + pipeline { agent { kubernetes { - label "storm-backend-server-${env.JOB_BASE_NAME}-${env.BUILD_NUMBER}" + label "${podLabel}" cloud 'Kube mwdevel' defaultContainer 'jnlp' inheritFrom 'ci-template'