...
|
...
|
@@ -45,33 +45,18 @@ public class ProjectEnvironment { |
|
|
}
|
|
|
|
|
|
|
|
|
public static List<String> getDockerEnvironments(String projectName){
|
|
|
if (projectName==null) return dockerEnvironments;
|
|
|
if(projectName!=null&&projectName.contains("yohobuywap-node")){
|
|
|
return dockerEnvironments;
|
|
|
}
|
|
|
if(projectName!=null&&projectName.contains("yoho-community-web")){
|
|
|
return dockerEnvironments;
|
|
|
}
|
|
|
if(projectName!=null&&projectName.contains("yohobuy-node")){
|
|
|
return dockerEnvironments;
|
|
|
}
|
|
|
if(projectName!=null&&projectName.contains("ufo-app-web")){
|
|
|
return dockerEnvironments;
|
|
|
}
|
|
|
if(projectName!=null&&projectName.contains("yoho-app-web")){
|
|
|
return dockerEnvironments;
|
|
|
}
|
|
|
if(projectName!=null&&projectName.contains("ultrainBlockApi")){
|
|
|
return dockerEnvironments;
|
|
|
}
|
|
|
if(projectName!=null&&projectName.contains("yohobuywap-node-activity")){
|
|
|
return dockerEnvironments;
|
|
|
}
|
|
|
if(projectName!=null&&projectName.contains("xianyu-ufo-app-web")){
|
|
|
return dockerEnvironments;
|
|
|
}
|
|
|
if(projectName!=null&&projectName.contains("xianyuservice")){
|
|
|
public static List<String> getDockerEnvironments(String projectName) {
|
|
|
if (projectName == null
|
|
|
|| projectName.contains("yohobuywap-node")
|
|
|
|| projectName.contains("yoho-community-web")
|
|
|
|| projectName.contains("yohobuy-node")
|
|
|
|| projectName.contains("ufo-app-web")
|
|
|
|| projectName.contains("yoho-app-web")
|
|
|
|| projectName.contains("ultrainBlockApi")
|
|
|
|| projectName.contains("yohobuywap-node-activity")
|
|
|
|| projectName.contains("xianyu-ufo-app-web")
|
|
|
|| projectName.contains("xianyuservice")
|
|
|
|| projectName.contains("yoho-shop-manage")) {
|
|
|
return dockerEnvironments;
|
|
|
}
|
|
|
return Arrays.asList("yoho-online");
|
...
|
...
|
|