Fixing branch in charm build
[osm/devops.git] / jenkins / ci-pipelines / ci_stage_2.groovy
index e4b63d4..44e6ae9 100644 (file)
@@ -202,7 +202,7 @@ def ci_pipeline(mdg,url_prefix,project,branch,refspec,revision,do_stage_3,artifa
                                     if (BRANCH_NAME.startsWith("v")) {
                                         channel=BRANCH_NAME.substring(1)
                                     } else if (BRANCH_NAME!="master") {
-                                        REV="/"+BRANCH_NAME+REV.replaceAll('/','-')
+                                        charmBranch=BRANCH_NAME
                                     }
 
                                     def charmName = sh(