diff --git a/Jenkinsfile b/Jenkinsfile index ac7a644..4ac5c4e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,7 @@ tag="latest" image="swr.eu-de.otc.t-systems.com/omnia-test/${repository}:${version}.${env.BUILD_NUMBER}" namespace="demo" -podTemplate(label: 'demo-customer-pod', cloud: 'kubernetes', serviceAccount: 'jenkins', +podTemplate(label: 'pod', cloud: 'kubernetes', serviceAccount: 'jenkins', containers: [ containerTemplate( name: 'docker', image: 'docker:dind', ttyEnabled: true, command: 'cat', privileged: true, @@ -14,7 +14,7 @@ podTemplate(label: 'demo-customer-pod', cloud: 'kubernetes', serviceAccount: 'je ), ], ) { - node { + node('n1') { stage('Build Docker Image') { container('docker') { sh """