Showing
1 changed file
with
5 additions
and
3 deletions
@@ -33,11 +33,13 @@ public class ProjectEnvironment { | @@ -33,11 +33,13 @@ public class ProjectEnvironment { | ||
33 | return JAVA_ENV_LIST; | 33 | return JAVA_ENV_LIST; |
34 | } | 34 | } |
35 | public static List<String> getJavaEnvList(String project) { | 35 | public static List<String> getJavaEnvList(String project) { |
36 | - if("yoho-social".equals(project)||"yohobuy-union".equals(project)){ | 36 | + if("yoho-social".equals(project)){ |
37 | List<String> ls=new ArrayList<>(); | 37 | List<String> ls=new ArrayList<>(); |
38 | ls.addAll(JAVA_ENV_LIST_QCLOUD); | 38 | ls.addAll(JAVA_ENV_LIST_QCLOUD); |
39 | - ls.addAll(JAVA_ENV_LIST_AWS); | ||
40 | - ls.remove("aws"); | 39 | + return ls; |
40 | + }else if("yohobuy-union".equals(project)){ | ||
41 | + List<String> ls=new ArrayList<>(); | ||
42 | + ls.add(JAVA_ENV_LIST_QCLOUD.get(0)); | ||
41 | return ls; | 43 | return ls; |
42 | } | 44 | } |
43 | return JAVA_ENV_LIST; | 45 | return JAVA_ENV_LIST; |
-
Please register or login to post a comment