Class AbortAndRestartOperation
java.lang.Object
hudson.plugins.build_timeout.BuildTimeOutOperation
hudson.plugins.build_timeout.operations.AbortAndRestartOperation
- All Implemented Interfaces:
ExtensionPoint
,Describable<BuildTimeOutOperation>
Abort 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
-
AbortAndRestartOperation
-
-
Method Details
-
getMaxRestarts
- Returns:
- max restarts.
-
perform
Description copied from class:BuildTimeOutOperation
Perform operation.- Specified by:
perform
in classBuildTimeOutOperation
- Parameters:
build
-listener
-effectiveTimeout
-- Returns:
- See Also:
-