com.browserstack.automate.ci.jenkins
Class BrowserStackReportFileCallable

java.lang.Object
  extended by jenkins.MasterToSlaveFileCallable<Map<String,String>>
      extended by com.browserstack.automate.ci.jenkins.BrowserStackReportFileCallable
All Implemented Interfaces:
hudson.FilePath.FileCallable<Map<String,String>>, Serializable, org.jenkinsci.remoting.RoleSensitive

public class BrowserStackReportFileCallable
extends jenkins.MasterToSlaveFileCallable<Map<String,String>>

Finds XML files in the workspace that match the supplied Ant pattern, and parses them for test case => session mapping. Logic for detection of stale report files is from Jenkins JUnit plugin.

Author:
Shirish Kamath, Anirudha Khanna
See Also:
Serialized Form

Constructor Summary
BrowserStackReportFileCallable(String filePattern, long buildTime)
           
 
Method Summary
 Map<String,String> invoke(File workspace, hudson.remoting.VirtualChannel channel)
           
 
Methods inherited from class jenkins.MasterToSlaveFileCallable
checkRoles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowserStackReportFileCallable

public BrowserStackReportFileCallable(String filePattern,
                                      long buildTime)
Method Detail

invoke

public Map<String,String> invoke(File workspace,
                                 hudson.remoting.VirtualChannel channel)
                          throws IOException,
                                 InterruptedException
Throws:
IOException
InterruptedException


Copyright © 2004-2016. All Rights Reserved.