Updated project to work with jenkins
This commit is contained in:
1 parent
a528965f92
commit
1bb7d4708b
2 files changed
+19
-9
No files matched your search
Vendored
+3
-3
@@ -166,9 +166,9 @@ def SetVersion( v ) {
|
||||
version = branch_name_base + "." + build_number + "-RELEASE";
|
||||
//version = branch_name.substring('release/'.length()) + "." + build_number
|
||||
currentBuild.displayName = version
|
||||
} else if (v == 'develop') {
|
||||
} else if (v == 'develop') {
|
||||
version = branch_name_base + "." + build_number + "-SNAPSHOT";
|
||||
currentBuild.displayName = version
|
||||
currentBuild.displayName = version
|
||||
} else {
|
||||
// for all other branches the version number is 0 with an appended build number
|
||||
// and for the display name use the jenkins default #n and add the branch name
|
||||
@@ -182,4 +182,4 @@ def SetVersion( v ) {
|
||||
}
|
||||
}
|
||||
|
||||
return this
|
||||
return this
|
||||
Reference in new issue
Block a user