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

main
onikolskyy 1 year ago
parent b264471cde
commit e09c42a17a

3
Jenkinsfile vendored

@ -20,8 +20,9 @@ podTemplate(label: 'pod', cloud: 'k8s-config', serviceAccount: 'jenkins-admin',
node('pod') {
stage('Build Docker Image') {
container('docker') {
def imageName = "swr.eu-de.otc.t-systems.com/omnia-test/test-ci:1.0.0.${env.BUILD_NUMBER}"
sh 'docker login $PASS swr.eu-de.otc.t-systems.com'
sh 'docker build -t swr.eu-de.otc.t-systems.com/omnia-test/test-ci:1.0.0.${env.BUILD_NUMBER} .'
sh 'docker build -t ${imageName} .'
sh 'docker push ${image}'
milestone(1)

Loading…
Cancel
Save