This commit is contained in:
Vicente Falco 2018-01-08 12:13:09 +01:00
parent 3a922e5345
commit 1acfdf5950
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

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