Sprint don't use same var ?

This commit is contained in:
Sebastien 2018-03-01 16:42:28 +01:00
parent f62565ee97
commit a2f9c9e4f2

6
Jenkinsfile vendored
View File

@ -35,13 +35,11 @@ node {
def docker_tag def docker_tag
script { script {
if (env.BRANCH_NAME == 'master') { if (env.BRANCH_NAME == 'master') {
docker_tag = "latest" app.push(docker_tag)
} else { } else {
docler_tag = "devel" app.push("devel")
} }
} }
echo docker_tag
app.push(docker_tag)
} }