debugging
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 10:40:37 -08:00
parent ff6394dafc
commit 9edd87a45d

8
Jenkinsfile vendored
View File

@ -13,7 +13,7 @@ podTemplate(label: label, containers: [
command: 'sleep', command: 'sleep',
args: '99d' args: '99d'
) )
]) { ], workspaceVolume: dynamicPVC()) {
node(label) { node(label) {
stage('Checkout') { stage('Checkout') {
checkout scm checkout scm
@ -29,7 +29,11 @@ podTemplate(label: label, containers: [
} }
container('kaniko') { container('kaniko') {
stage('Image') { stage('Image') {
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --insecure --skip-tls-verify --cache=true --destination=docker.thejimnicholson.com/servicedemo/test:latest' sh '''
pwd
ls
/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --insecure --skip-tls-verify --cache=true --destination=docker.thejimnicholson.com/servicedemo/test:latest'
'''
} }
} }
} }