public abstract class TestBuilder
extends hudson.tasks.Builder
Builder implementation for writing a one-off throw-away builder used during tests.
Because this builder tends to be written as an inner class, this builder doesn't write itself to a disk when persisted. Configuration screen won't work, either.
| Constructor and Description |
|---|
TestBuilder() |
| Modifier and Type | Method and Description |
|---|---|
hudson.model.Descriptor<hudson.tasks.Builder> |
getDescriptor() |
abstract boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
public abstract boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionpublic hudson.model.Descriptor<hudson.tasks.Builder> getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.BuilderCopyright © 2004–2019. All rights reserved.