From 604bb4579b2df83a6e084f6d3858144ea0e05ed5 Mon Sep 17 00:00:00 2001 From: Kevin Duret Date: Mon, 8 Nov 2021 12:02:44 +0100 Subject: [PATCH] chore(ci): update qa branch of serie 21.10 --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 75074c1..b802753 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,15 +2,15 @@ ** Variables. */ def serie = '21.10' -def maintenanceBranch = "${serie}.x" -def qaBranch = "dev-${serie}.x" -env.REF_BRANCH = 'master' +def stableBranch = "${serie}.x" +def devBranch = "dev-${serie}.x" +env.REF_BRANCH = stableBranch env.PROJECT='centreon-awie' if (env.BRANCH_NAME.startsWith('release-')) { env.BUILD = 'RELEASE' -} else if ((env.BRANCH_NAME == env.REF_BRANCH) || (env.BRANCH_NAME == maintenanceBranch)) { +} else if (env.BRANCH_NAME == stableBranch) { env.BUILD = 'REFERENCE' -} else if ((env.BRANCH_NAME == 'develop') || (env.BRANCH_NAME == qaBranch)) { +} else if (env.BRANCH_NAME == devBranch) { env.BUILD = 'QA' } else { env.BUILD = 'CI'