diff --git a/Jenkinsfile b/Jenkinsfile index 5c1c4a7..a4e8faf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,7 +2,7 @@ pipeline { agent { kubernetes { - inheritFrom 'dind-agentt' + inheritFrom 'dind-agent' cloud 'kubernetes' } } @@ -23,5 +23,17 @@ pipeline { milestone(1) } } + stage ("deploy") { + steps { + script { + container('kubectl') { + sh """ + kubectl set image deployment/test-jenkins-deployment test-jenkins=swr.eu-de.otc.t-systems.com/omnia-test/test-build:${env.BUILD_NUMBER} + """ + } + } + milestone(2) + } + } } } \ No newline at end of file