Class DeploymentsApi
java.lang.Object
com.atlassian.jira.cloud.jenkins.common.client.JenkinsAppApi<DeploymentApiResponse>
com.atlassian.jira.cloud.jenkins.deploymentinfo.client.DeploymentsApi
-
Constructor Summary
ConstructorDescriptionDeploymentsApi
(okhttp3.OkHttpClient httpClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionsendDeploymentAsJwt
(String webhookUrl, Deployments deploymentsRequest, String secret, PipelineLogger pipelineLogger) Methods inherited from class com.atlassian.jira.cloud.jenkins.common.client.JenkinsAppApi
sendRequest, sendRequestAsJwt, wrapInJwt
-
Constructor Details
-
DeploymentsApi
public DeploymentsApi(okhttp3.OkHttpClient httpClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
sendDeploymentAsJwt
public DeploymentApiResponse sendDeploymentAsJwt(String webhookUrl, Deployments deploymentsRequest, String secret, PipelineLogger pipelineLogger) throws ApiUpdateFailedException - Throws:
ApiUpdateFailedException
-