Class BlueOceanRestClient
java.lang.Object
io.jenkins.plugins.propelo.commons.service.BlueOceanRestClient
-
Constructor Summary
ConstructorDescriptionBlueOceanRestClient
(String baseUrl, String userName, String apiToken, boolean trustAllCertificates, com.fasterxml.jackson.databind.ObjectMapper mapper, ProxyConfigService.ProxyConfig proxyConfig) -
Method Summary
Modifier and TypeMethodDescriptiongetJobRunLogUsingLink
(String jobRunLinkHref) getJobRunNodeLog
(String orgName, String pipelineJobPath, Long jobRunNumber, String nodeNumber) getJobRunNodeLogUsingJobRunLink
(String jobRunLinkHref, String nodeNumber) getJobRunNodeLogUsingJobRunNodeLink
(String jobRunNodeLinkHref) getJobRunNodes
(String orgName, String pipelineJobPath, Long jobRunNumber) getJobRunNodeStepLogUsingJobRunNodeStepLink
(String jobRunNodeStepLinkHref) getJobRunNodeStepsUsingJobRunNodeLink
(String jobRunNodeLinkHref) getJobRunNodesUsingJobRunLink
(String jobRunLinkHref) getJobRunNodesUsingJobRunNodesLink
(String jobRunNodesLinkHref) getJobRunUsingLink
(String jobRunLinkHref) getJobUsingLink
(String jobLinkHref)
-
Constructor Details
-
BlueOceanRestClient
public BlueOceanRestClient(String baseUrl, String userName, String apiToken, boolean trustAllCertificates, com.fasterxml.jackson.databind.ObjectMapper mapper, ProxyConfigService.ProxyConfig proxyConfig)
-
-
Method Details
-
getOrganizations
- Throws:
IOException
-
getJob
- Throws:
IOException
-
getJobUsingLink
- Throws:
IOException
-
getJobRun
public JobRun getJobRun(String orgName, String pipelineJobPath, Long jobRunNumber) throws IOException - Throws:
IOException
-
getJobRunUsingLink
- Throws:
IOException
-
getJobRunLogUsingLink
- Throws:
IOException
-
getJobRunNodes
public List<Node> getJobRunNodes(String orgName, String pipelineJobPath, Long jobRunNumber) throws IOException - Throws:
IOException
-
getJobRunNodesUsingJobRunLink
- Throws:
IOException
-
getJobRunNodesUsingJobRunNodesLink
- Throws:
IOException
-
getJobRunNodeLog
public String getJobRunNodeLog(String orgName, String pipelineJobPath, Long jobRunNumber, String nodeNumber) throws IOException - Throws:
IOException
-
getJobRunNodeLogUsingJobRunLink
public String getJobRunNodeLogUsingJobRunLink(String jobRunLinkHref, String nodeNumber) throws IOException - Throws:
IOException
-
getJobRunNodeLogUsingJobRunNodeLink
- Throws:
IOException
-
getJobRunNodeStepsUsingJobRunNodeLink
public List<Step> getJobRunNodeStepsUsingJobRunNodeLink(String jobRunNodeLinkHref) throws IOException - Throws:
IOException
-
getJobRunNodeStepLogUsingJobRunNodeStepLink
public String getJobRunNodeStepLogUsingJobRunNodeStepLink(String jobRunNodeStepLinkHref) throws IOException - Throws:
IOException
-