Class BuildPayloadBuilder

java.lang.Object
com.atlassian.jira.cloud.jenkins.buildinfo.client.BuildPayloadBuilder

public final class BuildPayloadBuilder extends Object
  • 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 details
      issueKeys - Jira issue keys to associate the build info with
      Returns:
      an assembled Builds payload