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

main
onikolskyy 1 year ago
parent 2dd9d8cccb
commit f1ec31f49a

9
Jenkinsfile vendored

@ -20,11 +20,10 @@ podTemplate(label: 'pod', cloud: 'k8s-config', serviceAccount: 'jenkins-admin',
node('pod') { node('pod') {
stage('Build Docker Image') { stage('Build Docker Image') {
container('docker') { container('docker') {
sh """ sh 'docker login $PASS swr.eu-de.otc.t-systems.com'
docker login $PASS swr.eu-de.otc.t-systems.com sh 'docker build -t ${image} .'
docker build -t ${image} . sh 'docker push ${image}'
docker push ${image}
"""
milestone(1) milestone(1)
} }
} }

Loading…
Cancel
Save