From 90d4206e328dad64449fe96e56a89af0d45c4cfd Mon Sep 17 00:00:00 2001 From: raffaelespazzoli Date: Tue, 12 Jun 2018 10:13:31 -0400 Subject: [PATCH] fixes --- cucumber-selenium-grid/Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cucumber-selenium-grid/Jenkinsfile b/cucumber-selenium-grid/Jenkinsfile index cd9d5bb6..190b3865 100644 --- a/cucumber-selenium-grid/Jenkinsfile +++ b/cucumber-selenium-grid/Jenkinsfile @@ -8,7 +8,7 @@ openshift.withCluster() { env.STAGE1 = "${projectBase}-dev" env.STAGE2 = "${projectBase}-stage" env.STAGE3 = "${projectBase}-prod" - def label = "nodejs-slave-${UUID.randomUUID().toString()}" + env.LABEL = "nodejs-slave-${UUID.randomUUID().toString()}" } pipeline { @@ -19,7 +19,7 @@ pipeline { // workspace agent { kubernetes { - label "${label}" + label "${LABEL}" cloud 'openshift' serviceAccount 'jenkins' containerTemplate {