From a2f9c9e4f2a2644976082e9d8a557d0080771ba4 Mon Sep 17 00:00:00 2001 From: Sebastien Date: Thu, 1 Mar 2018 16:42:28 +0100 Subject: [PATCH] Sprint don't use same var ? --- Jenkinsfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9ed26e5..96d59fd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -35,13 +35,11 @@ node { def docker_tag script { if (env.BRANCH_NAME == 'master') { - docker_tag = "latest" + app.push(docker_tag) } else { - docler_tag = "devel" + app.push("devel") } } - echo docker_tag - app.push(docker_tag) }