Update Jenkinsfile

This commit is contained in:
Mihai Georgescu 2023-12-04 10:11:35 +02:00 committed by GitHub
parent 38e45a7cb7
commit 754f2892c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
Jenkinsfile vendored
View file

@ -49,7 +49,7 @@ pipeline {
changeRequest() changeRequest()
} }
steps { steps {
echo "now we will tag the docker image" echo "now we will tag the docker image "
script { script {
def imageTag = sh(script: 'docker tag imagine_spring_petclinic:0.1 mihaivalentingeorgescu/mr:0.1', returnStatus: true) def imageTag = sh(script: 'docker tag imagine_spring_petclinic:0.1 mihaivalentingeorgescu/mr:0.1', returnStatus: true)
if (imageTag == 0) { if (imageTag == 0) {