jenkinsci / jenkinsci/workflow-basic-steps-plugin
[JENKINS-27092] create a step to abort the build with a NOT_BUILT status
- Lingua principale
- Java
- Stelle
- 73
- Fork
- 129
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.