jenkinsci / jenkinsci/workflow-basic-steps-plugin
[JENKINS-58597] Additional Step error with message
- Vorherrschende Sprache
- Java
- Sterne
- 73
- Forks
- 129
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
As noted in other issues the error() step is not intended to print messages. But there are some use cases where this becomes very helpful. Eg. provides information directly in the blue ocean log; the error step does this sporadic only.
Does it make sense to add another step with fails the build but also prints to the log?
---
Originally reported by ethorsa, imported from: Additional Step error with message
Raw content of original issue
As noted in other issues the error() step is not intended to print messages. But there are some use cases where this becomes very helpful. Eg. provides information directly in the blue ocean log; the error step does this sporadic only.
Does it make sense to add another step with fails the build but also prints to the log?
Beitragsleitfaden
Rechercherichtung
Start by examining the existing error() step entry point and how its messages appear in Jenkins and Blue Ocean logs. Clarify the proposed step’s behavior, including how it should fail the build while printing a message, then define tests that verify both outcomes.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- ci-cd
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100