Specify label for node
Some checks failed
Homelab/java-spring-microservice/pipeline/head There was a failure building this commit

This commit is contained in:
Jim Nicholson 2021-12-23 17:50:39 -08:00
parent 14720420d0
commit b0b94c3274

6
Jenkinsfile vendored
View File

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