public class PerfectoMobileBuilder
extends hudson.tasks.Builder
Builder.
When the user configures the project and enables this builder,
Descriptor.newInstance(StaplerRequest) is invoked and a new
PerfectoMobileBuilder 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 |
PerfectoMobileBuilder.DescriptorImpl
Descriptor for
PerfectoMobileBuilder. |
| Constructor and Description |
|---|
PerfectoMobileBuilder(String name,
String perfectoCloud,
String autoScript,
String scriptParams,
String id) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAutoScript() |
PerfectoMobileBuilder.DescriptorImpl |
getDescriptor() |
String |
getId() |
String |
getName()
We'll use this from the config.jelly.
|
String |
getPerfectoCloud() |
String |
getScriptParams() |
boolean |
perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
getProjectAction, getProjectAction, getProjectActions, perform, prebuildpublic String getName()
public String getId()
public String getPerfectoCloud()
public String getAutoScript()
public String getScriptParams()
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 PerfectoMobileBuilder.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.BuilderCopyright © 2004-2014. All Rights Reserved.