|
|
@ -4,7 +4,7 @@ tag="latest"
|
|
|
|
image="swr.eu-de.otc.t-systems.com/omnia-test/${repository}:${version}.${env.BUILD_NUMBER}"
|
|
|
|
image="swr.eu-de.otc.t-systems.com/omnia-test/${repository}:${version}.${env.BUILD_NUMBER}"
|
|
|
|
namespace="demo"
|
|
|
|
namespace="demo"
|
|
|
|
|
|
|
|
|
|
|
|
podTemplate(label: 'demo-customer-pod', cloud: 'kubernetes', serviceAccount: 'jenkins',
|
|
|
|
podTemplate(label: 'pod', cloud: 'kubernetes', serviceAccount: 'jenkins',
|
|
|
|
containers: [
|
|
|
|
containers: [
|
|
|
|
containerTemplate(
|
|
|
|
containerTemplate(
|
|
|
|
name: 'docker', image: 'docker:dind', ttyEnabled: true, command: 'cat', privileged: true,
|
|
|
|
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') {
|
|
|
|
stage('Build Docker Image') {
|
|
|
|
container('docker') {
|
|
|
|
container('docker') {
|
|
|
|
sh """
|
|
|
|
sh """
|
|
|
|