Class WarningAction

java.lang.Object
org.jenkinsci.plugins.workflow.actions.WarningAction
All Implemented Interfaces:
Action, ModelObject, PersistentAction

public class WarningAction extends Object implements PersistentAction
Action to be attached to a FlowNode to signify that some non-fatal event occurred during execution of a Step but execution continued normally. withMessage(java.lang.String) should be used whenever possible to give context to the warning. Visualizations should treat FlowNodes with this action as if the FlowNode's result was result.