Interface WorkflowPolicyMockScript
interface WorkflowPolicyMockScript {
buildFailure?: string;
onWorkflowFailure?: WorkflowHookEnding;
onWorkflowSuccess?: WorkflowHookEnding;
}
buildFailure?: string;
onWorkflowFailure?: WorkflowHookEnding;
onWorkflowSuccess?: WorkflowHookEnding;
}
How the hooks of a workflow policy mock end, each returning nothing unless the script says it fails, and whether it cannot be built.