onikolskyy 1 year ago
parent c049deeb94
commit 7b64137aa2

4
Jenkinsfile vendored

@ -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 """

Loading…
Cancel
Save