Class ExecuteTestsWorkerJobCallable
java.lang.Object
jenkins.security.MasterToSlaveCallable<S,InterruptedException>
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
The Callable executes tpt test cases on a Jenkins Agent via the TPT API.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionExecuteTestsWorkerJobCallable
(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
Methods inherited from class com.piketec.jenkins.plugins.tpt.api.callables.TptApiCallable
getApi, getApiIfTptIsOpen, getLogger
Methods inherited from class jenkins.security.MasterToSlaveCallable
checkRoles
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.remoting.Callable
getChannelOrFail, getOpenChannelOrFail
-
Constructor Details
-
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 Details
-
call
- Throws:
InterruptedException
-