|
|
@ -71,8 +71,20 @@ if(indexV != -1){ |
|
|
|
version= branchName |
|
|
|
version= branchName |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// third的feature对应essential和cbb的release,其他对应master |
|
|
|
// 主体代码与CBB的对应关系 |
|
|
|
String essentialBranch = version == 'FEATURE' ? 'RELEASE' : 'MASTER' |
|
|
|
String essentialBranch |
|
|
|
|
|
|
|
switch (version) { |
|
|
|
|
|
|
|
case "FEATURE": |
|
|
|
|
|
|
|
case "RESEARCH": |
|
|
|
|
|
|
|
essentialBranch = "FEATURE" |
|
|
|
|
|
|
|
break |
|
|
|
|
|
|
|
case "RELEASE": |
|
|
|
|
|
|
|
case "BUGFIX": |
|
|
|
|
|
|
|
essentialBranch = "RELEASE" |
|
|
|
|
|
|
|
break |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
essentialBranch = "MASTER" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//指定依赖 |
|
|
|
//指定依赖 |
|
|
|
dependencies{ |
|
|
|
dependencies{ |
|
|
|