Skip to content
Snippets Groups Projects
Commit 4867b84a authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4786 Refactored check for release Branch in Jenkinsfile

parent 32f99e49
No related branches found
No related tags found
No related merge requests found
......@@ -277,7 +277,7 @@ String generateHelmChartVersion() {
if (isMasterBranch()) {
chartVersion += "-${env.GIT_COMMIT.take(7)}"
}
else if (env.BRANCH_NAME != 'release') {
else if (!isReleaseBranch()) {
chartVersion += "-${env.BRANCH_NAME}"
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment