Add web release build in Jenkinsfile
This commit is contained in:
committed by
Dat H. Pham
parent
3f7d1d0064
commit
e059b87dc0
Vendored
+4
@@ -12,12 +12,16 @@ pipeline {
|
||||
when {
|
||||
anyOf {
|
||||
branch 'master'
|
||||
branch 'release'
|
||||
buildingTag()
|
||||
}
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
env.DOCKER_TAG = 'master'
|
||||
if (env.BRANCH_NAME == 'release') {
|
||||
env.DOCKER_TAG = 'release'
|
||||
}
|
||||
if (env.TAG_NAME) {
|
||||
env.DOCKER_TAG = env.TAG_NAME
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user