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.Data
ContributesSauceOnDemandReport
toCaseResult
.- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description static SauceOnDemandReportFactory
INSTANCE
-
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 boolean
matchTestNames(String jobName, String fullName, String displayName)
Object
readResolve()
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:
getTestAction
in 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)
-
-