Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
raffaelespazzoli committed Jun 12, 2018
1 parent e9e3d7d commit 90d4206
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cucumber-selenium-grid/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -19,7 +19,7 @@ pipeline {
// workspace
agent {
kubernetes {
label "${label}"
label "${LABEL}"
cloud 'openshift'
serviceAccount 'jenkins'
containerTemplate {
Expand Down

0 comments on commit 90d4206

Please sign in to comment.