From 7b64137aa25bb1443bbc37ad76d598075cd023ed Mon Sep 17 00:00:00 2001 From: onikolskyy Date: Fri, 3 Nov 2023 17:10:51 +0100 Subject: [PATCH] a --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 """