This commit is contained in:
Vicente Falco 2018-01-08 11:07:52 +01:00
parent 6c772c52d8
commit 6109338726
1 changed files with 5 additions and 9 deletions

14
Jenkinsfile vendored
View File

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