diff --git a/Jenkinsfile b/Jenkinsfile index 8966b10..1aba7f1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,7 +10,7 @@ stages { stage('buildPush') { steps{ sh 'echo "ADASDASDSADSADASD"' - sh 'docker buildx rm jenkins-agent' + sh 'docker buildx rm jenkins-agent || echo "none there' sh '''#!/bin/bash docker buildx create --bootstrap --name=jenkins-agent --driver=kubernetes --driver-opt=namespace=jenkinsagent --driver-opt=qemu.install=true --driver-opt=\\"nodeselector=kubernetes.io/arch=amd64\\" --driver-opt=\\"image=registry.local/buildkit-wagnerca:stable-3-rootless\\" --use '''