Class BlueOceanRestClient
- java.lang.Object
-
- io.jenkins.plugins.propelo.commons.service.BlueOceanRestClient
-
public class BlueOceanRestClient extends Object
-
-
Constructor Summary
Constructors Constructor Description BlueOceanRestClient(String baseUrl, String userName, String apiToken, boolean trustAllCertificates, com.fasterxml.jackson.databind.ObjectMapper mapper, ProxyConfigService.ProxyConfig proxyConfig)
-
Method Summary
-
-
-
Constructor Detail
-
BlueOceanRestClient
public BlueOceanRestClient(String baseUrl, String userName, String apiToken, boolean trustAllCertificates, com.fasterxml.jackson.databind.ObjectMapper mapper, ProxyConfigService.ProxyConfig proxyConfig)
-
-
Method Detail
-
getOrganizations
public List<Organization> getOrganizations() throws IOException
- Throws:
IOException
-
getJob
public Job getJob(String orgName, String pipelineJobPath) throws IOException
- Throws:
IOException
-
getJobUsingLink
public Job getJobUsingLink(String jobLinkHref) throws IOException
- Throws:
IOException
-
getJobRun
public JobRun getJobRun(String orgName, String pipelineJobPath, Long jobRunNumber) throws IOException
- Throws:
IOException
-
getJobRunUsingLink
public JobRun getJobRunUsingLink(String jobRunLinkHref) throws IOException
- Throws:
IOException
-
getJobRunLogUsingLink
public String getJobRunLogUsingLink(String jobRunLinkHref) throws IOException
- Throws:
IOException
-
getJobRunNodes
public List<Node> getJobRunNodes(String orgName, String pipelineJobPath, Long jobRunNumber) throws IOException
- Throws:
IOException
-
getJobRunNodesUsingJobRunLink
public List<Node> getJobRunNodesUsingJobRunLink(String jobRunLinkHref) throws IOException
- Throws:
IOException
-
getJobRunNodesUsingJobRunNodesLink
public List<Node> getJobRunNodesUsingJobRunNodesLink(String jobRunNodesLinkHref) throws IOException
- 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
public String getJobRunNodeLogUsingJobRunNodeLink(String jobRunNodeLinkHref) throws IOException
- Throws:
IOException
-
getJobRunNodeStepsUsingJobRunNodeLink
public List<Step> getJobRunNodeStepsUsingJobRunNodeLink(String jobRunNodeLinkHref) throws IOException
- Throws:
IOException
-
getJobRunNodeStepLogUsingJobRunNodeStepLink
public String getJobRunNodeStepLogUsingJobRunNodeStepLink(String jobRunNodeStepLinkHref) throws IOException
- Throws:
IOException
-
-