Class ExecuteTestsSlaveCallable
- java.lang.Object
-
- com.piketec.jenkins.plugins.tpt.api.callables.TptApiCallable<java.lang.Boolean>
-
- com.piketec.jenkins.plugins.tpt.api.callables.ExecuteTestsSlaveCallable
-
- All Implemented Interfaces:
hudson.remoting.Callable<java.lang.Boolean,java.lang.InterruptedException>
,java.io.Serializable
,org.jenkinsci.remoting.RoleSensitive
public class ExecuteTestsSlaveCallable extends TptApiCallable<java.lang.Boolean>
The Callable executes tpt test cases on a Jenkins Agent via the TPT API.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExecuteTestsSlaveCallable(TaskListener listener, int tptPort, java.lang.String tptBindingName, FilePath[] exePaths, java.util.List<java.lang.String> arguments, long startUpWaitTime, FilePath tptFilePath, FilePath slaveReportPath, FilePath slaveDataPath, java.lang.String executionConfigName, java.util.List<java.lang.String> testSet, java.lang.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 java.lang.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
-
ExecuteTestsSlaveCallable
public ExecuteTestsSlaveCallable(TaskListener listener, int tptPort, java.lang.String tptBindingName, FilePath[] exePaths, java.util.List<java.lang.String> arguments, long startUpWaitTime, FilePath tptFilePath, FilePath slaveReportPath, FilePath slaveDataPath, java.lang.String executionConfigName, java.util.List<java.lang.String> testSet, java.lang.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 executedsslaveReportPath
- Path where the report shall be stored in the workspaceslaveDataPath
- 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
-
-