From 1acfdf5950d33f4bf972dc2830e05d2f2b1ba99a Mon Sep 17 00:00:00 2001 From: Vicente Falco Date: Mon, 8 Jan 2018 12:13:09 +0100 Subject: [PATCH] jENKINS --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6db2d3de0..ab70d68cf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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" }