From b0b94c3274468c5bd131be0450ef1a6db2d138e5 Mon Sep 17 00:00:00 2001 From: Jim Nicholson Date: Thu, 23 Dec 2021 17:50:39 -0800 Subject: [PATCH] Specify label for node --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 545dbd6..674fd3a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,7 +19,7 @@ podTemplate(label: POD_LABEL, containers: [ args: '30d' ) ], workspaceVolume: dynamicPVC()) { - node(label) { + node(POD_LABEL) { stage('Checkout') { checkout scm sh "git fetch" @@ -52,8 +52,8 @@ podTemplate(label: POD_LABEL, containers: [ --insecure \ --skip-tls-verify \ --tarPath ./target/servicedemo-${POM_VERSION}.image.tar \ - --destination=${registry}servicedemo:${POM_VERSION} \ - --destination=${registry}servicedemo:${GIT_TAG}" + --destination=${REGISTRY}servicedemo:${POM_VERSION} \ + --destination=${REGISTRY}servicedemo:${GIT_TAG}" } }