Added latest tag for master branch
This commit is contained in:
parent
d93c0dd9c5
commit
0f07d79229
|
@ -17,7 +17,7 @@ pipeline {
|
||||||
if (env.BRANCH_NAME.startsWith('release/')) {
|
if (env.BRANCH_NAME.startsWith('release/')) {
|
||||||
VERSION = (env.BRANCH_NAME).tokenize('/')[1]
|
VERSION = (env.BRANCH_NAME).tokenize('/')[1]
|
||||||
} else if (env.BRANCH_NAME.equals('master')) {
|
} else if (env.BRANCH_NAME.equals('master')) {
|
||||||
VERSION = ''
|
VERSION = 'latest'
|
||||||
} else {
|
} else {
|
||||||
VERSION = 'unstable'
|
VERSION = 'unstable'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue