com.sonyericsson.jenkins.plugins.bfa
Class BuildFailureScanner
java.lang.Object
hudson.model.listeners.RunListener<hudson.model.AbstractBuild>
com.sonyericsson.jenkins.plugins.bfa.BuildFailureScanner
- All Implemented Interfaces:
- hudson.ExtensionPoint
@Extension(ordinal=11003.0)
public class BuildFailureScanner
- extends hudson.model.listeners.RunListener<hudson.model.AbstractBuild>
Looks for Indications, trying to find the Cause of a problem.
- Author:
- Tomas Westling <thomas.westling@sonyericsson.com>
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Field Summary |
static int |
ORDINAL
The ordinal of this extension, one thousand below the GerritTrigger plugin. |
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, register, setUpEnvironment, unregister |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ORDINAL
public static final int ORDINAL
- The ordinal of this extension, one thousand below the GerritTrigger plugin.
- See Also:
- Constant Field Values
BuildFailureScanner
public BuildFailureScanner()
onStarted
public void onStarted(hudson.model.AbstractBuild build,
hudson.model.TaskListener listener)
- Overrides:
onStarted
in class hudson.model.listeners.RunListener<hudson.model.AbstractBuild>
onCompleted
public void onCompleted(hudson.model.AbstractBuild build,
hudson.model.TaskListener listener)
- Overrides:
onCompleted
in class hudson.model.listeners.RunListener<hudson.model.AbstractBuild>
scan
public static void scan(hudson.model.AbstractBuild build,
PrintStream buildLog)
- Performs a scan of the build, adds the
FailureCauseBuildAction
and reports to the
StatisticsLogger
.
- Parameters:
build
- the build to scanbuildLog
- log to write information to.
Copyright © 2004-2014. All Rights Reserved.