Is there a way to get all failed steps (including steps marked with failure:ignore)?
Details:
I would like to set a global pipeline state within the last step. Here is an example:
.
In this case buildState should mark the pipeline as failed if there were errors in the steps ScriptAnalyzer or Pester. But the env var DRONE_FAILED_STEPS is empty.
DRONE_FAILED_STEPS is limited to steps that place the pipeline in a failing state. A step with failure: ignore does not place the pipeline in a failing state and is therefore not included in the DRONE_FAILED_STEPS environment variable.