Class SauceOnDemandReportFactory

java.lang.Object
hudson.tasks.junit.TestResultAction.Data
hudson.plugins.sauce_ondemand.SauceOnDemandReportFactory

public class SauceOnDemandReportFactory extends hudson.tasks.junit.TestResultAction.Data
Contributes SauceOnDemandReport to CaseResult.
Author:
Kohsuke Kawaguchi
  • Field Details

  • Constructor Details

    • SauceOnDemandReportFactory

      public SauceOnDemandReportFactory()
  • Method Details

    • 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 class hudson.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)
    • matchTestNames

      public static boolean matchTestNames(String jobName, String fullName, String displayName)