Class FailFastBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
org.jenkins_ci.plugins.flexible_publish.builder.FailFastBuilder
- All Implemented Interfaces:
ExtensionPoint,Describable<Builder>,BuildStep
Used with
BuildStepRunner.
Run build steps, but stops execution immediately when any of them fail.-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProjectAction(AbstractProject<?, ?> project) Deprecated.Collection<? extends Action> getProjectActions(AbstractProject<?, ?> project) booleanperform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) RunBuildStep.prebuild(AbstractBuild, BuildListener)of all build steps.booleanprebuild(AbstractBuild<?, ?> build, BuildListener listener) RunBuildStep.prebuild(AbstractBuild, BuildListener)of all build steps.Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, perform
-
Constructor Details
-
FailFastBuilder
-
-
Method Details
-
prebuild
RunBuildStep.prebuild(AbstractBuild, BuildListener)of all build steps. Doesn't run following build steps when a build step fails.- Specified by:
prebuildin interfaceBuildStep- Overrides:
prebuildin classBuildStepCompatibilityLayer- Parameters:
build-listener-- Returns:
- See Also:
-
perform
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOExceptionRunBuildStep.prebuild(AbstractBuild, BuildListener)of all build steps. Runs following build steps even when a build step fails.- Specified by:
performin interfaceBuildStep- Overrides:
performin classBuildStepCompatibilityLayer- Parameters:
build-launcher-listener-- Returns:
- Throws:
InterruptedExceptionIOException- See Also:
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<Builder>- Overrides:
getDescriptorin classBuilder
-
getProjectAction
Deprecated.Not Supported- Specified by:
getProjectActionin interfaceBuildStep- Overrides:
getProjectActionin classBuildStepCompatibilityLayer- Parameters:
project-- Returns:
- See Also:
-
getProjectActions
- Specified by:
getProjectActionsin interfaceBuildStep- Overrides:
getProjectActionsin classBuildStepCompatibilityLayer- Parameters:
project-- Returns:
- See Also:
-
getRequiredMonitorService
- Specified by:
getRequiredMonitorServicein interfaceBuildStep- Overrides:
getRequiredMonitorServicein classBuilder- Returns:
- See Also:
-