Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
switching to main as default branch
 if(env.BRANCH_NAME == "main") {
                       tag = "latest"
                    }
chubing committed Jul 7, 2020
1 parent ff1cfff commit e0ed075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
@@ -12,7 +12,7 @@ pipeline {
script {
maintainer = maintain()
imagename = imagename()
if(env.BRANCH_NAME == "master") {
if(env.BRANCH_NAME == "main") {
tag = "latest"
} else {
tag = env.BRANCH_NAME

0 comments on commit e0ed075

Please sign in to comment.