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

main
onikolskyy 1 year ago
parent 79ee9d72db
commit 0a014a368c

4
Jenkinsfile vendored

@ -43,11 +43,11 @@ pipeline {
stage('Build Docker Image') { stage('Build Docker Image') {
steps { steps {
container('dind') { container('dind') {
def image = "swr.eu-de.otc.t-systems.com/omnia-test/test-build:${env.BUILD_NUMBER}"
echo "FOO is ${env.BUILD_NUMBER}" echo "FOO is ${env.BUILD_NUMBER}"
sh """ sh """
image="swr.eu-de.otc.t-systems.com/omnia-test/test-build:latest" image="swr.eu-de.otc.t-systems.com/omnia-test/test-build:latest"
docker login ${PASS} swr.eu-de.otc.t-systems.com docker login $PASS swr.eu-de.otc.t-systems.com
docker build -t ${image} . docker build -t ${image} .
docker push ${image} docker push ${image}
""" """

Loading…
Cancel
Save