Class ObsoleteBuildsKiller

  • All Implemented Interfaces:
    EventListener, BuildServerListener, ProjectsModelListener, ServerListener

    public class ObsoleteBuildsKiller
    extends BuildServerAdapter
    This class monitors currently running builds, and removes all hanged builds (see SRunningBuild.isProbablyHanging) whose build agents are disconnected for more than teamcity.agent.inactive.threshold.secs. Builds are checked periodically, once per teamcity.agent.monitor.interval.secs.