Class JenkinsToJiraStatus

java.lang.Object
com.atlassian.jira.cloud.jenkins.util.JenkinsToJiraStatus

public final class JenkinsToJiraStatus extends Object
  • Constructor Details

    • JenkinsToJiraStatus

      public JenkinsToJiraStatus()
  • Method Details

    • getState

      public static State getState(@Nullable Result jenkinsBuildResult)
      Maps a Jenkins Build status to Jira API build/deployment status
      Returns:
      State for Jira API payload
    • getState

      public static State getState(org.jenkinsci.plugins.workflow.graph.FlowNode flowNode)