hudson.plugins.build_timeout
Class BuildTimeoutWrapper
java.lang.Object
hudson.tasks.BuildWrapper
hudson.plugins.build_timeout.BuildTimeoutWrapper
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.BuildWrapper>
public class BuildTimeoutWrapper
- extends hudson.tasks.BuildWrapper
BuildWrapper that terminates a build if it's taking too long.
- Author:
- Kohsuke Kawaguchi
| Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper |
hudson.tasks.BuildWrapper.Environment |
|
Method Summary |
hudson.model.Descriptor<hudson.tasks.BuildWrapper> |
getDescriptor()
|
hudson.tasks.BuildWrapper.Environment |
setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
|
| Methods inherited from class hudson.tasks.BuildWrapper |
setUp |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
timeoutMinutes
public int timeoutMinutes
- If the build took longer than this amount of minutes,
it will be terminated.
DESCRIPTOR
public static final BuildTimeoutWrapper.DescriptorImpl DESCRIPTOR
BuildTimeoutWrapper
public BuildTimeoutWrapper()
setUp
public hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws java.io.IOException,
java.lang.InterruptedException
- Overrides:
setUp in class hudson.tasks.BuildWrapper
- Throws:
java.io.IOException
java.lang.InterruptedException
getDescriptor
public hudson.model.Descriptor<hudson.tasks.BuildWrapper> getDescriptor()
Copyright © 2008. All Rights Reserved.