/** * Gets the publisher descriptor by name. Primarily used for making them web-visible. */ public Descriptor<Publisher> getPublisher(String shortClassName) { return findDescriptor(shortClassName, Publisher.all()); }
public BuildStepDescriptor getDescriptor() { return (BuildStepDescriptor)super.getDescriptor(); } }
/** * Invoked after the Ant has finished running, and in the master, not in the Ant process. */ void end(Launcher launcher) throws IOException, InterruptedException { for (Map.Entry<ModuleName,ProxyImpl2> e : sourceProxies.entrySet()) { ProxyImpl2 p = e.getValue(); for (Publisher publisher : modulePublishers.get(e.getKey())) { // we'd love to do this when the module build ends, but doing so requires // we know how many task segments are in the current build. publisher.perform(p.owner(),launcher,listener); p.appendLastLog(); } p.close(); } }
/** * Invoked after the Ant has finished running, and in the master, not in the Ant process. */ void end(Launcher launcher) throws IOException, InterruptedException { for (Map.Entry<ModuleName,ProxyImpl2> e : sourceProxies.entrySet()) { ProxyImpl2 p = e.getValue(); for (Publisher publisher : modulePublishers.get(e.getKey())) { // we'd love to do this when the module build ends, but doing so requires // we know how many task segments are in the current build. publisher.perform(p.owner(),launcher,listener); p.appendLastLog(); } p.close(); } }
public static List<Descriptor<Publisher>> getPublisherDescriptors(AbstractProject<?,?> project) { return BuildStepDescriptor.filter(Publisher.all(), project.getClass()); }
public BuildStepDescriptor getDescriptor() { return (BuildStepDescriptor)super.getDescriptor(); } }
/** * Invoked after the Ant has finished running, and in the master, not in the Ant process. */ void end(Launcher launcher) throws IOException, InterruptedException { for (Map.Entry<ModuleName,ProxyImpl2> e : sourceProxies.entrySet()) { ProxyImpl2 p = e.getValue(); for (Publisher publisher : modulePublishers.get(e.getKey())) { // we'd love to do this when the module build ends, but doing so requires // we know how many task segments are in the current build. publisher.perform(p.owner(),launcher,listener); p.appendLastLog(); } p.close(); } }
@Override protected void submit( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException, FormException { super.submit(req,rsp); JSONObject json = req.getSubmittedForm(); getBuildWrappersList().rebuild(req,json, BuildWrappers.getFor(this)); getBuildersList().rebuildHetero(req,json, Builder.all(), "builder"); getPublishersList().rebuildHetero(req, json, Publisher.all(), "publisher"); }
public Publisher getPublisher(Descriptor<Publisher> descriptor) { for (Publisher p : getPublishersList()) { if(p.getDescriptor()==descriptor) return p; } return null; }
/** * Gets the publisher descriptor by name. Primarily used for making them web-visible. */ public Descriptor<Publisher> getPublisher(String shortClassName) { return findDescriptor(shortClassName, Publisher.all()); }
public Publisher getPublisher(Descriptor<Publisher> descriptor) { for (Publisher p : publishers) { if(p.getDescriptor()==descriptor) return p; } return null; }
/** * Gets the publisher descriptor by name. Primarily used for making them * web-visible. */ public Descriptor<Publisher> getPublisher(String shortClassName) { return findDescriptor(shortClassName, Publisher.all()); }
public BuildStepDescriptor getDescriptor() { return (BuildStepDescriptor)super.getDescriptor(); } }
/** * Gets the publisher descriptor by name. Primarily used for making them web-visible. */ public Descriptor<Publisher> getPublisher(String shortClassName) { return findDescriptor(shortClassName, Publisher.all()); }
public BuildStepDescriptor getDescriptor() { return (BuildStepDescriptor) super.getDescriptor(); } }
/** * Gets the publisher descriptor by name. Primarily used for making them web-visible. */ public Descriptor<Publisher> getPublisher(String shortClassName) { return findDescriptor(shortClassName, Publisher.all()); }
public BuildStepDescriptor getDescriptor() { return (BuildStepDescriptor)super.getDescriptor(); } }
/** * Gets the publisher descriptor by name. Primarily used for making them web-visible. */ public Descriptor<Publisher> getPublisher(String shortClassName) { return findDescriptor(shortClassName, Publisher.all()); }
public BuildStepDescriptor getDescriptor() { return (BuildStepDescriptor)super.getDescriptor(); } }
public static List<Descriptor<Publisher>> getPublisherDescriptors(AbstractProject<?, ?> project) { return BuildStepDescriptor.filter(Publisher.all(), project.getClass()); }