Commit 614f40ef authored by Kevin Duret's avatar Kevin Duret
Browse files

chore(ci): detect properly reference branch in jenkinsfile

parent 0bf47f49
......@@ -2,7 +2,7 @@
** Variables.
*/
def serie = '21.04'
def maintenanceBranch = "${serie}"
def maintenanceBranch = "${serie}.x"
if (env.BRANCH_NAME.startsWith('release-')) {
env.BUILD = 'RELEASE'
} else if ((env.BRANCH_NAME == 'master') || (env.BRANCH_NAME == maintenanceBranch)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment