diff --git a/Jenkinsfile b/Jenkinsfile index e2a20e0b3..130b73e4a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -34,25 +34,12 @@ node { stage ("Stopping/Removing Docker") { - try - { - sh "docker-compose rm -s" - }catch(Exception _){ - echo "Error Stopping/Removing dockers" - } + sh "docker-compose down" } stage ("Generar dockers") { - stage ("build dockers") - { - sh "docker-compose build " - } - - stage ("up dockers") - { - sh "docker-compose up -d" - } + sh "docker-compose up -d --build" } } } \ No newline at end of file