private List<TestflightTeam> createDefaultPlusAdditionalTeams() {
   List<TestflightTeam> allTeams = new ArrayList<TestflightTeam>();
   // first team is default
   allTeams.add(new TestflightTeam(getTokenPairName(), getFilePath(), getDsymPath()));
   if (additionalTeams != null) {
     allTeams.addAll(Arrays.asList(additionalTeams));
   }
   return allTeams;
 }
예제 #2
0
  protected List<Action> createTransientActions() {
    List<Action> r = super.createTransientActions();

    // Fix for ISSUE-1149
    for (MavenModule module : modules.values()) {
      module.updateTransientActions();
    }

    if (publishers
        != null) // this method can be loaded from within the onLoad method, where this might be
      // null
      for (BuildStep step : publishers) r.addAll(step.getProjectActions(this));

    if (buildWrappers != null)
      for (BuildWrapper step : buildWrappers) r.addAll(step.getProjectActions(this));

    return r;
  }