public class LeiningenBuilder
extends hudson.tasks.Builder
Builder.
When the user configures the project and enables this builder,
Descriptor.newInstance(StaplerRequest) is invoked
and a new LeiningenBuilder is created. The created
instance is persisted to the project configuration XML by using
XStream, so this allows you to use instance fields (like #name)
to remember the configuration.
When a build is performed, the perform(AbstractBuild, Launcher, BuildListener)
method will be invoked.
| Modifier and Type | Class and Description |
|---|---|
static class |
LeiningenBuilder.DescriptorImpl
Descriptor for
LeiningenBuilder. |
| Constructor and Description |
|---|
LeiningenBuilder(String task,
String subdirPath) |
| Modifier and Type | Method and Description |
|---|---|
LeiningenBuilder.DescriptorImpl |
getDescriptor() |
String |
getSubdirPath() |
String |
getTask()
We'll use this from the config.jelly.
|
boolean |
perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
getProjectAction, getProjectAction, getProjectActions, perform, prebuildpublic String getTask()
public String getSubdirPath()
public boolean perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerpublic LeiningenBuilder.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.BuilderCopyright © 2004-2013. All Rights Reserved.