From 881ff774a5f08face22ae00a1e7e6edbb64cec5a Mon Sep 17 00:00:00 2001 From: Vicente Falco Date: Tue, 28 Nov 2017 10:38:00 +0100 Subject: [PATCH] Jenkins --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4cc6d74f4..15c4ff79f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -43,13 +43,13 @@ node stage ("Stopping/Removing Docker") { - env.TAG = "${env.BUILD_NUMBER}" - 1; + env.TAG = env.BUILD_NUMBER - 1; sh "docker-compose down --rmi 'all'" } stage ("Generar dockers") { - env.TAG = "${env.BUILD_NUMBER}" + 1; + env.TAG = env.BUILD_NUMBER + 1; sh "docker-compose up -d --build" } }