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'
|
args: '30d'
|
||||||
)
|
)
|
||||||
], workspaceVolume: dynamicPVC()) {
|
], workspaceVolume: dynamicPVC()) {
|
||||||
node(label) {
|
node(POD_LABEL) {
|
||||||
stage('Checkout') {
|
stage('Checkout') {
|
||||||
checkout scm
|
checkout scm
|
||||||
sh "git fetch"
|
sh "git fetch"
|
||||||
@ -52,8 +52,8 @@ podTemplate(label: POD_LABEL, containers: [
|
|||||||
--insecure \
|
--insecure \
|
||||||
--skip-tls-verify \
|
--skip-tls-verify \
|
||||||
--tarPath ./target/servicedemo-${POM_VERSION}.image.tar \
|
--tarPath ./target/servicedemo-${POM_VERSION}.image.tar \
|
||||||
--destination=${registry}servicedemo:${POM_VERSION} \
|
--destination=${REGISTRY}servicedemo:${POM_VERSION} \
|
||||||
--destination=${registry}servicedemo:${GIT_TAG}"
|
--destination=${REGISTRY}servicedemo:${GIT_TAG}"
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user