com.sonyericsson.jenkins.plugins.bfa
Class BuildFailureScanner

java.lang.Object
  extended by hudson.model.listeners.RunListener<hudson.model.AbstractBuild>
      extended by 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 Class Summary
 
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
 
Constructor Summary
BuildFailureScanner()
           
 
Method Summary
 void onCompleted(hudson.model.AbstractBuild build, hudson.model.TaskListener listener)
           
 void onStarted(hudson.model.AbstractBuild build, hudson.model.TaskListener listener)
           
static void scan(hudson.model.AbstractBuild build, PrintStream buildLog)
          Performs a scan of the build, adds the FailureCauseBuildAction and reports to the StatisticsLogger.
 
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
 

Field Detail

ORDINAL

public static final int ORDINAL
The ordinal of this extension, one thousand below the GerritTrigger plugin.

See Also:
Constant Field Values
Constructor Detail

BuildFailureScanner

public BuildFailureScanner()
Method Detail

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 scan
buildLog - log to write information to.


Copyright © 2004-2014. All Rights Reserved.