hudson.plugins.build_timeout
Class BuildTimeoutWrapper

java.lang.Object
  extended by hudson.tasks.BuildWrapper
      extended by 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 Class Summary
static class BuildTimeoutWrapper.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper
hudson.tasks.BuildWrapper.Environment
 
Field Summary
static BuildTimeoutWrapper.DescriptorImpl DESCRIPTOR
           
 int timeoutMinutes
          If the build took longer than this amount of minutes, it will be terminated.
 
Constructor Summary
BuildTimeoutWrapper()
           
 
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
 

Field Detail

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
Constructor Detail

BuildTimeoutWrapper

public BuildTimeoutWrapper()
Method Detail

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.