Uploaded image for project: 'Jenkins Website'
  1. Jenkins Website
  2. WEBSITE-364

Update "currentBuild.result" docs and examples to use currentBuilt.currentResult and resultIsBetter/IsWorse

    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

            Activity

            bitwiseman Liam Newman created issue -
            bitwiseman Liam Newman made changes -
            Field Original Value New Value
            Link This issue relates to JENKINS-41275 [ JENKINS-41275 ]
            bitwiseman Liam Newman made changes -
            Link This issue relates to JENKINS-42521 [ JENKINS-42521 ]
            bitwiseman Liam Newman made changes -
            Remote Link This issue links to "PR-31 (Web Link)" [ 17101 ]
            savioride Rajanikanth Bollam made changes -
            Summary Update "currentBuild.result" docs and examples to use currentBuilt.currentResult and resultIsBetter/IsWorse Basic credentials are only supported over HTTPS secured connections
            bitwiseman Liam Newman made changes -
            Summary Basic credentials are only supported over HTTPS secured connections Update "currentBuild.result" docs and examples to use currentBuilt.currentResult and resultIsBetter/IsWorse
            rtyler R. Tyler Croy made changes -
            Rank Ranked higher
            anthonymastrean Anthony Mastrean made changes -
            Description See linked issues.
            Most of the time when people use {{currentBuild.result}}, they really want the behavior from {{currentBuild.currentResult}} or {{currentbuild.resultIsBettterOrEqualTo}}/{{currentbuild.resultIsWorseOrEqualTo}}.

            Review the existing documentation and update to use these new methods.
            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.
            bitwiseman Liam Newman made changes -
            Link This issue relates to JENKINS-46325 [ JENKINS-46325 ]

              People

              • Assignee:
                Unassigned
                Reporter:
                bitwiseman Liam Newman
              • Votes:
                3 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: