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

lastStableBuild not preserved

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: other
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      I think Hudson automatically preserves the lastSuccessfulBuild of a job in case
      it has failed a number of times in a row. But apparently it does not preserve
      the lastStableBuild in case it has been unstable for a while! This is a major
      problem because it makes it unsafe to use lastStableBuild in URLs - you could
      get FileNotFoundException's (should really be 404s) if a test is left to fail
      for too long.

      "Discard Old Builds" should never discard the last stable build (if there was one).

        Attachments

          Issue Links

            Activity

            jglick Jesse Glick created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Link This issue is duplicated by JENKINS-2352 [ JENKINS-2352 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            abayer Andrew Bayer made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 132490 ] JNJira + In-Review [ 201451 ]

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jglick Jesse Glick
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: