Trues
This commit is contained in:
@@ -7,13 +7,14 @@ pipeline {
|
||||
stages {
|
||||
stage('Docker Stop') {
|
||||
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') {
|
||||
steps {
|
||||
// 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') {
|
||||
|
||||
Reference in New Issue
Block a user