This commit is contained in:
Vicente Falco 2017-11-28 09:42:10 +01:00
parent 65e58d6b7c
commit d4d8126c72
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -43,13 +43,13 @@ node
stage ("Stopping/Removing Docker") stage ("Stopping/Removing Docker")
{ {
env.TAG = "${env.BUILD_NUMBER}-1"; env.TAG = "${env.BUILD_NUMBER}" - 1;
sh "docker-compose down --rmi 'all'" sh "docker-compose down --rmi 'all'"
} }
stage ("Generar dockers") stage ("Generar dockers")
{ {
env.TAG = "${env.BUILD_NUMBER}+1"; env.TAG = "${env.BUILD_NUMBER}" + 1;
sh "docker-compose up -d --build" sh "docker-compose up -d --build"
} }
} }