Package hudson.plugins.sauce_ondemand
Class SauceOnDemandReportFactory
- java.lang.Object
-
- hudson.tasks.junit.TestResultAction.Data
-
- hudson.plugins.sauce_ondemand.SauceOnDemandReportFactory
-
public class SauceOnDemandReportFactory extends hudson.tasks.junit.TestResultAction.DataContributesSauceOnDemandReporttoCaseResult.- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description static SauceOnDemandReportFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description SauceOnDemandReportFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<String[]>findSessionIDs(hudson.tasks.junit.CaseResult cr, String... output)Returns all sessions matching a given jobName in the provided logs.List<SauceOnDemandReport>getTestAction(hudson.tasks.junit.TestObject testObject)static booleanmatchTestNames(String jobName, String fullName, String displayName)ObjectreadResolve()Makes this a singleton -- since it's stateless, there's no need to keep one around for every build.
-
-
-
Field Detail
-
INSTANCE
public static final SauceOnDemandReportFactory INSTANCE
-
-
Method Detail
-
readResolve
public Object readResolve()
Makes this a singleton -- since it's stateless, there's no need to keep one around for every build.- Returns:
- Singleton Report Factory Instance
-
getTestAction
public List<SauceOnDemandReport> getTestAction(hudson.tasks.junit.TestObject testObject)
- Specified by:
getTestActionin classhudson.tasks.junit.TestResultAction.Data
-
findSessionIDs
public static List<String[]> findSessionIDs(hudson.tasks.junit.CaseResult cr, String... output)
Returns all sessions matching a given jobName in the provided logs. If no session is found for the jobName, return all session that do not provide job-name (old format)
-
-