/**
  * Gets the build steps.
  *
  * @return the build steps.
  */
 public static List<Descriptor<? extends BuildStep>> getBuildSteps() {
   List<Descriptor<? extends BuildStep>> list = new ArrayList<Descriptor<? extends BuildStep>>();
   addTo(Builder.all(), list);
   addTo(Publisher.all(), list);
   return list;
 }
Beispiel #2
0
 public static List<Descriptor<Builder>> getBuilderDescriptors(AbstractProject<?, ?> project) {
   return BuildStepDescriptor.filter(Builder.all(), project.getClass());
 }