mirror of
https://github.com/status-im/open-bounty.git
synced 2025-02-03 21:23:46 +00:00
fix named branches in jenkinsfile (#249)
This commit is contained in:
parent
3d454c9f8d
commit
9f1f04c3d6
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -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"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user