Class FailOperation
java.lang.Object
hudson.plugins.build_timeout.BuildTimeOutOperation
hudson.plugins.build_timeout.operations.FailOperation
- All Implemented Interfaces:
ExtensionPoint
,Describable<BuildTimeOutOperation>
Fail the build.
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
perform
(AbstractBuild<?, ?> build, BuildListener listener, long effectiveTimeout) Perform operation.Methods inherited from class hudson.plugins.build_timeout.BuildTimeOutOperation
getDescriptor
-
Constructor Details
-
FailOperation
@DataBoundConstructor public FailOperation()
-
-
Method Details
-
perform
Description copied from class:BuildTimeOutOperation
Perform operation.- Specified by:
perform
in classBuildTimeOutOperation
- Parameters:
build
- build timed outlistener
- build listener. can be used to print log.effectiveTimeout
- timeout (milliseconds)- Returns:
- false not to run subsequent operations. It also mark the build as failure.
- See Also:
-