Trues
This commit is contained in:
@@ -7,13 +7,14 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage('Docker Stop') {
|
stage('Docker Stop') {
|
||||||
steps {
|
steps {
|
||||||
sh 'docker stop the-example-app'
|
// Stop Docker if running
|
||||||
|
sh 'docker stop the-example-app | true' //Not important, just logistics
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Docker RM') {
|
stage('Docker RM') {
|
||||||
steps {
|
steps {
|
||||||
// Rm Docker image to build a new one from scratch
|
// Rm Docker image to build a new one from scratch
|
||||||
sh 'docker rm the-example-app'
|
sh 'docker rm the-example-app | true' //Not important, just logistics
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Checkout') {
|
stage('Checkout') {
|
||||||
|
|||||||
Reference in New Issue
Block a user