Details
-
Type:
Task
-
Status: To Do (View Workflow)
-
Priority:
Minor
-
Resolution: Unresolved
-
Component/s: content
-
Labels:None
-
Similar Issues:
Description
Most of the time when people use currentBuild.result, they really want the behavior from currentBuild.currentResult or currentbuild.resultIsBettterOrEqualTo/currentbuild.resultIsWorseOrEqualTo (see linked issues).
Review the existing documentation and update to use these new methods.
Attachments
Issue Links
- relates to
-
JENKINS-46325 Should we use result or currentResult?
-
- Open
-
-
JENKINS-41275 Add way to easily test currentBuild result is better/worse than some value (isBetterOrEqualTo)
-
- Closed
-
-
JENKINS-42521 RunWrapper should have a "getCurrentResult()" method
-
- Closed
-
- links to