From 6109338726daee2f3335dcb5ea5cee5fae994735 Mon Sep 17 00:00:00 2001 From: Vicente Falco Date: Mon, 8 Jan 2018 11:07:52 +0100 Subject: [PATCH] _Jenkins --- Jenkinsfile | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1e4202752..d20201a81 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -43,18 +43,14 @@ node stage ("Stopping/Removing Docker") { - step{ - env.TAG = env.BUILD_NUMBER - 1; - sh "docker-compose down --rmi 'all'" - } + //env.TAG = env.BUILD_NUMBER - 1; + sh "docker-compose down --rmi 'all'" } stage ("Generar dockers") { - step{ - env.TAG = env.BUILD_NUMBER + 1; - sh "docker-compose up -d --build" - } + //env.TAG = env.BUILD_NUMBER + 1; + sh "docker-compose up -d --build" } } -} \ No newline at end of file +}