Specify label for node
Some checks failed
Homelab/java-spring-microservice/pipeline/head There was a failure building this commit
Some checks failed
Homelab/java-spring-microservice/pipeline/head There was a failure building this commit
This commit is contained in:
parent
14720420d0
commit
b0b94c3274
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -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}"
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user