a
test/pipeline/head There was a failure building this commit Details

main
onikolskyy 1 year ago
parent 3abb8949aa
commit 699083ec80

4
Jenkinsfile vendored

@ -11,6 +11,7 @@ pipeline {
stage("build image") { stage("build image") {
steps { steps {
script { script {
container('jnlp') {
def image = "swr.eu-de.otc.t-systems.com/omnia-test/test-build:${env.BUILD_NUMBER}" def image = "swr.eu-de.otc.t-systems.com/omnia-test/test-build:${env.BUILD_NUMBER}"
sh """ sh """
#sleep 2400 #sleep 2400
@ -20,13 +21,14 @@ pipeline {
docker push ${image} docker push ${image}
""" """
} }
}
milestone(1) milestone(1)
} }
} }
stage ("deploy") { stage ("deploy") {
steps { steps {
script { script {
container('kubectl') { container('kubeind') {
sh """ sh """
kubectl set image deployment/test-jenkins-deployment test-jenkins=swr.eu-de.otc.t-systems.com/omnia-test/test-build:${env.BUILD_NUMBER} kubectl set image deployment/test-jenkins-deployment test-jenkins=swr.eu-de.otc.t-systems.com/omnia-test/test-build:${env.BUILD_NUMBER}
""" """

Loading…
Cancel
Save