diff --git a/Jenkinsfile b/Jenkinsfile index f6bf876..1834018 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,11 +20,10 @@ podTemplate(label: 'pod', cloud: 'k8s-config', serviceAccount: 'jenkins-admin', node('pod') { stage('Build Docker Image') { container('docker') { - sh """ - docker login $PASS swr.eu-de.otc.t-systems.com - docker build -t ${image} . - docker push ${image} - """ + sh 'docker login $PASS swr.eu-de.otc.t-systems.com' + sh 'docker build -t ${image} .' + sh 'docker push ${image}' + milestone(1) } }