jenkinsci / jenkinsci/workflow-basic-steps-plugin
[JENKINS-27092] create a step to abort the build with a NOT_BUILT status
- Dominant language
- Java
- Stars
- 73
- Forks
- 129
- PR merge metrics
- No merged PRs in 30d
Description
The error step results in a workflow with a "FAILURE" state.
It is desirable to be able to end a workflow early from within the workflow itself but not have the workflow in an error state (which would imply a user needs to take a look at why it failed and perform so work).
e.g.
say I do not want to deploy any code to production on a Friday afternoon
A step that stops the workflow on a Friday afternoon should not result in the build being failed but in one that it has been intentionally cut short.
---
Originally reported by
teilo, imported from: create a step to abort the build with a NOT_BUILT status
Raw content of original issue
The error step results in a workflow with a "FAILURE" state.
It is desirable to be able to end a workflow early from within the workflow itself but not have the workflow in an error state (which would imply a user needs to take a look at why it failed and perform so work).
e.g.
say I do not want to deploy any code to production on a Friday afternoonA step that stops the workflow on a Friday afternoon should not result in the build being failed but in one that it has been intentionally cut short.
Contributor guide
Assessment
This issue has not been assessed yet.