mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 07:45:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
e4fd84de57
commit
0a9ac99617
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -92,7 +92,7 @@ pipeline {
|
||||||
echo "now we will tag the docker image for the main branch"
|
echo "now we will tag the docker image for the main branch"
|
||||||
script {
|
script {
|
||||||
def tagDockerImage = sh(script: 'docker tag imagine_spring_petclinic:0.1 mihaivalentingeorgescu/main:0.1', returnStatus: true)
|
def tagDockerImage = sh(script: 'docker tag imagine_spring_petclinic:0.1 mihaivalentingeorgescu/main:0.1', returnStatus: true)
|
||||||
if (tagDockerImager == 0) {
|
if (tagDockerImage == 0) {
|
||||||
echo "Docke tag ended successfully"
|
echo "Docke tag ended successfully"
|
||||||
} else {
|
} else {
|
||||||
error "Docker tag FAILED"
|
error "Docker tag FAILED"
|
||||||
|
|
Loading…
Reference in a new issue