Class BuildPayloadBuilder
java.lang.Object
com.atlassian.jira.cloud.jenkins.buildinfo.client.BuildPayloadBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Builds
getBuildPayload
(State jiraState, org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper buildWrapper, Set<String> issueKeys) Assembles a JiraBuildInfo with necessary parameters from the Jenkins context
-
Constructor Details
-
BuildPayloadBuilder
public BuildPayloadBuilder()
-
-
Method Details
-
getBuildPayload
public static Builds getBuildPayload(State jiraState, org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper buildWrapper, Set<String> issueKeys) Assembles a JiraBuildInfo with necessary parameters from the Jenkins context- Parameters:
buildWrapper
- Jenkins context that provides project and build detailsissueKeys
- Jira issue keys to associate the build info with- Returns:
- an assembled Builds payload
-