diff --git a/Jenkinsfile b/Jenkinsfile index 45be3fa..29e4f74 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,7 +15,7 @@ pipeline { } stage('Deploy') { steps { - sh 'docker stop test || exit 0' + sh 'docker stop test && docker rm test || exit 0' sh 'docker run -d -p 3466:80 --name test test.trianta.dev:latest' } }