org.jenkinsci.plugins.detection.unreliable.slave
Class BuildStatisticListener
java.lang.Object
hudson.model.listeners.RunListener<hudson.model.Run>
org.jenkinsci.plugins.detection.unreliable.slave.BuildStatisticListener
- All Implemented Interfaces:
- hudson.ExtensionPoint
@Extension
public class BuildStatisticListener
- extends hudson.model.listeners.RunListener<hudson.model.Run>
- Author:
- lucinka
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.model.listeners.RunListener |
LISTENERS, targetType |
| Methods inherited from class hudson.model.listeners.RunListener |
all, fireCompleted, fireDeleted, fireFinalized, fireStarted, onDeleted, onFinalized, onStarted, register, setUpEnvironment, unregister |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildStatisticListener
public BuildStatisticListener()
onCompleted
public void onCompleted(hudson.model.Run run,
hudson.model.TaskListener listener)
- Overrides:
onCompleted in class hudson.model.listeners.RunListener<hudson.model.Run>
handleUnreliableSlave
public void handleUnreliableSlave(hudson.model.Computer computer,
UnreliableSlaveDetection settings,
SlaveBuildFailureStatistic slaveStatistic)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
getSlaveStatistic
public SlaveBuildFailureStatistic getSlaveStatistic(String computerName)
Copyright © 2004-2013. All Rights Reserved.