Try to repair docker push

This commit is contained in:
Sebastien 2018-03-01 16:17:13 +01:00
parent aba2b358f0
commit 620cbe63af

7
Jenkinsfile vendored
View File

@ -32,13 +32,16 @@ node {
* First, the incremental build number from Jenkins * First, the incremental build number from Jenkins
* Second, the 'latest' tag. * Second, the 'latest' tag.
* Pushing multiple tags is cheap, as all the layers are reused. */ * Pushing multiple tags is cheap, as all the layers are reused. */
def docker_tag
script { script {
if (env.BRANCH_NAME == 'master') { if (env.BRANCH_NAME == 'master') {
app.push() docker_tag = "latest"
} else { } else {
app.push("devel") docler_tag = "devel"
} }
} }
echo docker_tag
app.push(docker_tag)
} }