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}" } }