public class Diskcheck
extends hudson.tasks.BuildWrapper
| Modifier and Type | Class and Description |
|---|---|
static class |
Diskcheck.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
boolean |
failOnError |
| Constructor and Description |
|---|
Diskcheck(boolean failOnError)
Constructor taking a list of buildsteps to use.
|
| Modifier and Type | Method and Description |
|---|---|
hudson.model.Descriptor |
getDescriptor()
Overridden precheckout step, this is where wedo all the work.
|
void |
preCheckout(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
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.
|
@DataBoundConstructor public Diskcheck(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 hudson.model.Descriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.BuildWrapper>getDescriptor in class hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>build - launcher - listener - public void preCheckout(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
preCheckout in class hudson.tasks.BuildWrapperIOExceptionInterruptedExceptionCopyright © 2016–2017. All rights reserved.