• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • other
    • None
    • Platform: All, OS: All

      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).

          [JENKINS-2417] lastStableBuild not preserved

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

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

              Created:
              Updated:
              Resolved: