public class PreSCMBuildStepsWrapper
extends hudson.tasks.BuildWrapper
| Modifier and Type | Class and Description |
|---|---|
static class |
PreSCMBuildStepsWrapper.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
ArrayList<hudson.tasks.BuildStep> |
buildSteps
Stored build steps to run before the scm checkout is called
|
boolean |
failOnError |
| Constructor and Description |
|---|
PreSCMBuildStepsWrapper(ArrayList<hudson.tasks.BuildStep> buildstep,
boolean failOnError)
Constructor taking a list of buildsteps to use.
|
| Modifier and Type | Method and Description |
|---|---|
void |
preCheckout(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Overridden precheckout step, this is where wedo all the work.
|
hudson.tasks.BuildWrapper.Environment |
setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Overridden setup returns a noop class as we don't want to add annything here.
|
public final ArrayList<hudson.tasks.BuildStep> buildSteps
public final boolean failOnError
@DataBoundConstructor public PreSCMBuildStepsWrapper(ArrayList<hudson.tasks.BuildStep> buildstep, boolean failOnError)
buildstep - list of but steps configured in the UIpublic hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
setUp in class hudson.tasks.BuildWrapperbuild - launcher - listener - IOExceptionInterruptedExceptionpublic void preCheckout(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
preCheckout in class hudson.tasks.BuildWrapperbuild - launcher - listener - IOExceptionInterruptedExceptionCopyright © 2004-2014. All Rights Reserved.