Class BuildsApi
java.lang.Object
com.atlassian.jira.cloud.jenkins.common.client.JenkinsAppApi<BuildApiResponse>
com.atlassian.jira.cloud.jenkins.buildinfo.client.BuildsApi
-
Constructor Summary
ConstructorDescriptionBuildsApi
(okhttp3.OkHttpClient httpClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionsendBuildAsJwt
(String webhookUrl, Builds buildsRequest, String secret, PipelineLogger pipelineLogger) Methods inherited from class com.atlassian.jira.cloud.jenkins.common.client.JenkinsAppApi
sendRequest, sendRequestAsJwt, wrapInJwt
-
Constructor Details
-
BuildsApi
public BuildsApi(okhttp3.OkHttpClient httpClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
sendBuildAsJwt
public BuildApiResponse sendBuildAsJwt(String webhookUrl, Builds buildsRequest, String secret, PipelineLogger pipelineLogger) throws ApiUpdateFailedException - Throws:
ApiUpdateFailedException
-