Details
-
Bug
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Won't Fix
-
None
Description
The xUnit plugin allows for a yellow "unstable" state, between red "FAIL" and blue "OK". This is useful for test-suite steps, to help developers immediately distinguish between "I broke one of 40,000 unit tests" and "I caused compilation to fail entirely".
It would help if there were an easy way to assign an unstable state as the result of a step, especially a shell step (e.g. if we could check for a magic exit code to mark a step as unstable rather than failed)
Attachments
Issue Links
- is related to
-
JENKINS-26522 Annotated block/stage status
-
- Closed
-
- relates to
-
JENKINS-39203 All stages show up as UNSTABLE when only one stage should
-
- Resolved
-
The more commonly used JUnit plugin also has an UNSTABLE state—for the Run as a whole, which Workflow supports if the step wishes to set it. Jenkins generally just has a notion of a whole build being stable, unstable, or failed.
Would rather leave this to
JENKINS-26522for marking up detailed information, and the existing option for a step to set a Run.result.