diff --git a/Jenkinsfile b/Jenkinsfile index a6a333a..acf4c0e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,7 +13,7 @@ podTemplate(label: label, containers: [ command: 'sleep', args: '99d' ) -]) { +], workspaceVolume: dynamicPVC()) { node(label) { stage('Checkout') { checkout scm @@ -29,7 +29,11 @@ podTemplate(label: label, containers: [ } container('kaniko') { 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' + ''' } } }