From 433a7dc052346353c98e5472c97ee3cba8a911a8 Mon Sep 17 00:00:00 2001 From: Vincent Latombe Date: Thu, 12 Sep 2019 10:28:36 +0200 Subject: [PATCH] Remove hashbang Not needed anymore since https://github.com/jenkinsci/kubernetes-plugin/pull/490 --- examples/kaniko.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/kaniko.groovy b/examples/kaniko.groovy index 5992719614..b9afb94c34 100644 --- a/examples/kaniko.groovy +++ b/examples/kaniko.groovy @@ -40,7 +40,7 @@ spec: git 'https://github.com/jenkinsci/docker-jnlp-slave.git' container(name: 'kaniko', shell: '/busybox/sh') { withEnv(['PATH+EXTRA=/busybox:/kaniko']) { - sh '''#!/busybox/sh + sh ''' /kaniko/executor -f `pwd`/Dockerfile -c `pwd` --insecure --skip-tls-verify --cache=true --destination=mydockerregistry:5000/myorg/myimage ''' }