Jenkinsfile

This commit is contained in:
Vicente Falco 2017-11-28 09:19:23 +01:00
parent ffde93614a
commit 366a8e2f4d
1 changed files with 2 additions and 0 deletions

2
Jenkinsfile vendored
View File

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