Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-21706

Terminology of lastUnsuccessfulBuild is unclear

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Incomplete
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      How can the symlinks to successful and unsuccessful builds point to the same build?
      lrwxrwxrwx 1 jenkins jenkins 4 Feb 5 10:47 lastFailedBuild -> 1014
      lrwxrwxrwx 1 jenkins jenkins 2 Oct 7 14:56 lastStableBuild -> -1
      lrwxrwxrwx 1 jenkins jenkins 4 Feb 6 18:42 lastSuccessfulBuild -> 1022
      lrwxrwxrwx 1 jenkins jenkins 4 Feb 6 18:42 lastUnstableBuild -> 1022
      lrwxrwxrwx 1 jenkins jenkins 4 Feb 6 18:42 lastUnsuccessfulBuild -> 1022

      (Edit: ls was on wrong job dir)

        Attachments

          Issue Links

            Activity

            Hide
            danielbeck Daniel Beck added a comment -

            More information is needed to investigate this issue. Report doesn't even mention Jenkins version. Build log might be interesting as well.

            Also might be relevant: Did you delete newer builds? Are there multiple builds with the same build number (i.e. not all builds are actually loaded in Jenkins)?

            Show
            danielbeck Daniel Beck added a comment - More information is needed to investigate this issue. Report doesn't even mention Jenkins version. Build log might be interesting as well. Also might be relevant: Did you delete newer builds? Are there multiple builds with the same build number (i.e. not all builds are actually loaded in Jenkins)?
            Hide
            jglick Jesse Glick added a comment -

            I do not think this is incomplete; the description explains itself, and is easily reproduced in a current version of Jenkins. It is just the way it is, too late to change.

            Show
            jglick Jesse Glick added a comment - I do not think this is incomplete; the description explains itself, and is easily reproduced in a current version of Jenkins. It is just the way it is, too late to change.

              People

              • Assignee:
                Unassigned
                Reporter:
                cfx cfx
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: