Class NantBuilder

  • All Implemented Interfaces:
    ExtensionPoint, Describable<Builder>, BuildStep

    public class NantBuilder
    extends Builder
    Sample Builder.

    When the user configures the project and enables this builder, Descriptor.newInstance(StaplerRequest) is invoked and a new NantBuilder is created. The created instance is persisted to the project configuration XML by using XStream, so this allows you to use instance fields (like nantName) to remember the configuration.

    When a build is performed, the #perform(Build, Launcher, BuildListener) method will be invoked.

    Author:
    kyle.sweeney@valtech.com, Justin Holzer (jsholzer@gmail.com)