Package io.jenkins.plugins.endtest
Class EndtestClient
java.lang.Object
io.jenkins.plugins.endtest.EndtestClient
Client for communicating with the Endtest API.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFetches results for one or more Endtest execution hashes.resolveAppCode(String apiRequest, String fallbackAppCode) resolveAppId(String apiRequest, String fallbackAppId) startExecutions(String apiRequest, String appId, String appCode) Starts one or more Endtest executions.
-
Constructor Details
-
EndtestClient
public EndtestClient()
-
-
Method Details
-
startExecutions
public List<String> startExecutions(String apiRequest, String appId, String appCode) throws IOException, InterruptedException Starts one or more Endtest executions.A single-suite request returns one hash. A label request can return multiple hashes separated by commas.
- Throws:
IOExceptionInterruptedException
-
getResults
public EndtestClient.ResultResponse getResults(String appId, String appCode, List<String> hashes, String resultsFormat) throws IOException, InterruptedException Fetches results for one or more Endtest execution hashes.- Throws:
IOExceptionInterruptedException
-
resolveAppId
-
resolveAppCode
-