|
|
|
@ -46,8 +46,8 @@ def srcDir="."
|
|
|
|
|
def maven_version_build = "" |
|
|
|
|
def indexV = branchName.indexOf( "%2F"); |
|
|
|
|
if(indexV != -1){ |
|
|
|
|
version= branchName.substring(0, indexV).toUpperCase() |
|
|
|
|
maven_version_build = branchName.substring(indexV+3, branchName.length()).toUpperCase()+"-" + project.version +"-SNAPSHOT" |
|
|
|
|
version= branchName.substring(indexV+3, branchName.length()).toUpperCase() |
|
|
|
|
maven_version_build = project.version +"-" + branchName.substring(0, indexV).toUpperCase() +"-SNAPSHOT" |
|
|
|
|
} else { |
|
|
|
|
version= branchName |
|
|
|
|
maven_version_build = project.version +"-SNAPSHOT" |
|
|
|
|