public final class JenkinsToJiraStatus
extends Object
-
Constructor Summary
Constructors
-
Method Summary
Maps a Jenkins Build status to Jira API build/deployment status
getState(org.jenkinsci.plugins.workflow.graph.FlowNode flowNode)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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)