Authored by jimi.ji

增加前端的页面发布

@@ -46,24 +46,20 @@ public class ProjectEnvironment { @@ -46,24 +46,20 @@ public class ProjectEnvironment {
46 46
47 47
48 public static List<String> getDockerEnvironments(String projectName){ 48 public static List<String> getDockerEnvironments(String projectName){
  49 + if (projectName==null) return dockerEnvironments;
49 if(projectName!=null&&projectName.contains("yohobuywap-node")){ 50 if(projectName!=null&&projectName.contains("yohobuywap-node")){
50 - //该项目没有灰度  
51 return dockerEnvironments; 51 return dockerEnvironments;
52 } 52 }
53 if(projectName!=null&&projectName.contains("yohobuy-node")){ 53 if(projectName!=null&&projectName.contains("yohobuy-node")){
54 - //该项目没有灰度  
55 return dockerEnvironments; 54 return dockerEnvironments;
56 } 55 }
57 if(projectName!=null&&projectName.contains("ufo-app-web")){ 56 if(projectName!=null&&projectName.contains("ufo-app-web")){
58 - //该项目没有灰度  
59 return dockerEnvironments; 57 return dockerEnvironments;
60 } 58 }
61 if(projectName!=null&&projectName.contains("yoho-app-web")){ 59 if(projectName!=null&&projectName.contains("yoho-app-web")){
62 - //该项目没有灰度  
63 return dockerEnvironments; 60 return dockerEnvironments;
64 } 61 }
65 if(projectName!=null&&projectName.contains("ultrainBlockApi")){ 62 if(projectName!=null&&projectName.contains("ultrainBlockApi")){
66 - //该项目没有灰度  
67 return dockerEnvironments; 63 return dockerEnvironments;
68 } 64 }
69 return Arrays.asList("yoho-online"); 65 return Arrays.asList("yoho-online");