This commit is contained in:
Vicente Falco 2018-01-08 12:04:49 +01:00
parent 6109338726
commit 3a922e5345
1 changed files with 6 additions and 2 deletions

8
Jenkinsfile vendored
View File

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