Sprint don't use same var ?
This commit is contained in:
parent
f62565ee97
commit
a2f9c9e4f2
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -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)
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user