From 9f1f04c3d694093b838f899d1ca5ca1a5b1ce8ba Mon Sep 17 00:00:00 2001 From: Ivan Borovkov <555475+v2nek@users.noreply.github.com> Date: Tue, 6 Feb 2018 12:29:17 +0200 Subject: [PATCH] fix named branches in jenkinsfile (#249) --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ac6c4bf..ec6b860 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,9 +14,9 @@ def dockerreponame = "statusim/openbounty-app" def openbountyApp = docker.build("${dockerreponame}:${env.BUILD_NUMBER}") openbountyApp.push("${env.BRANCH_NAME}") if (env.BRANCH_NAME == 'develop') { - openbountyApp.push("${dockerreponame}:develop") + openbountyApp.push("develop") } else if (env.BRANCH_NAME == 'master') { - openbountyApp.push("${dockerreponame}:master") + openbountyApp.push("master") } else { println "Not named branch have no custom tag" }