Class WriteDescriptionOperation
java.lang.Object
hudson.plugins.build_timeout.BuildTimeOutOperation
hudson.plugins.build_timeout.operations.WriteDescriptionOperation
- All Implemented Interfaces:
ExtensionPoint
,Describable<BuildTimeOutOperation>
Set Description for the build timed out.
-
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
-
WriteDescriptionOperation
-
-
Method Details
-
getDescription
- Returns:
- description to set.
-
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.
-