Class ExecuteTestsWorkerJobCallable
- java.lang.Object
-
- com.piketec.jenkins.plugins.tpt.api.callables.TptApiCallable<Boolean>
-
- com.piketec.jenkins.plugins.tpt.api.callables.ExecuteTestsWorkerJobCallable
-
- All Implemented Interfaces:
hudson.remoting.Callable<Boolean,InterruptedException>
,Serializable
,org.jenkinsci.remoting.RoleSensitive
public class ExecuteTestsWorkerJobCallable extends TptApiCallable<Boolean>
The Callable executes tpt test cases on a Jenkins Agent via the TPT API.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExecuteTestsWorkerJobCallable(TaskListener listener, int tptPort, String tptBindingName, FilePath[] exePaths, List<String> arguments, long startUpWaitTime, FilePath tptFilePath, FilePath workerJobReportPath, FilePath workerJobDataPath, String executionConfigName, List<String> testSet, String testSetName)
Create a new callable to execute a subset of tests of a given test set as part of a complete test execution.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
call()
void
checkRoles(org.jenkinsci.remoting.RoleChecker arg0)
-
Methods inherited from class com.piketec.jenkins.plugins.tpt.api.callables.TptApiCallable
getApi, getApiIfTptIsOpen, getLogger
-
-
-
-
Constructor Detail
-
ExecuteTestsWorkerJobCallable
public ExecuteTestsWorkerJobCallable(TaskListener listener, int tptPort, String tptBindingName, FilePath[] exePaths, List<String> arguments, long startUpWaitTime, FilePath tptFilePath, FilePath workerJobReportPath, FilePath workerJobDataPath, String executionConfigName, List<String> testSet, String testSetName)
Create a new callable to execute a subset of tests of a given test set as part of a complete test execution.- Parameters:
listener
- The task listenertptPort
- The port for TPT RMI API callstptBindingName
- The binding name for TPT RMI API callsexePaths
- Paths to look for TPT installationsarguments
- startup arguments fo TPTstartUpWaitTime
- Timeto wait for TPT start uptptFilePath
- The TPT file which tests shall be executedsworkerJobReportPath
- Path where the report shall be stored in the workspaceworkerJobDataPath
- Path where the test data shall be stored in the workspaceexecutionConfigName
- The execution configuration to executetestSet
- List of test cases to executestestSetName
- The test set to execute
-
-
Method Detail
-
call
public Boolean call() throws InterruptedException
- Throws:
InterruptedException
-
checkRoles
public void checkRoles(org.jenkinsci.remoting.RoleChecker arg0) throws SecurityException
- Throws:
SecurityException
-
-