This commit is contained in:
Vicente Falco 2018-01-08 11:05:19 +01:00
parent 8c976e49da
commit 6c772c52d8
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

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