Skip to content

Commit

Permalink
Continue if docker rmi fails
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinab25 committed Jun 15, 2021
1 parent 8a9bd8f commit 2c8729f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pipeline {
dockerImage.push()
}
} finally {
sh "docker rmi $registry:$tagName"
sh script: "docker rmi $registry:$tagName", returnStatus: true
}
}
}
Expand Down

0 comments on commit 2c8729f

Please sign in to comment.