Module for creating and working with steps.
Function or value | Description |
|
Example
let myStep = Step.create "myStep" { let! ctx = Step.context printfn "Current pipeline: %s" ctx.PipelineName } |
|
Example
let emptyStep = Step.create "emptyStep" { () } |
|
Example
let myStep = Step.create "myStep" { do! Step.fail "Oh no!" } |
|
Fails the current step with a list of Message to be printed. This can be used to create detailed multi-line failures.
Example
let myStep = Step.create "myStep" { do! [ Console.error "Oh " |> Console.appendToken "no!" ] |> Step.failMessages } |