jenkinsci / jenkinsci/workflow-basic-steps-plugin

[JENKINS-27092] create a step to abort the build with a NOT_BUILT status

Aperta
#385 19 commenti 0 reazioni 0 assegnatari Vedi su GitHub
component:workflow-basic-steps-plugin imported-jira-issue priority:minor resolution:unresolved
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


  • status: Reopened
  • priority: Minor
  • component(s): workflow-basic-steps-plugin
  • label(s): community-bee
  • resolution: Unresolved
  • votes: 24
  • watchers: 33
  • imported: 20251215-220547

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 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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.