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

Deleting the latest successful build doesn't update lastSuccessful symlink

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      If the last build is deleted, the web interface reflects the change and updates
      the last successful build to the previous one but the symlink on the file system
      is not updated.

          [JENKINS-1986] Deleting the latest successful build doesn't update lastSuccessful symlink

          xlv added a comment -

          Created an attachment (id=328)
          Patch to fix the symling

          xlv added a comment - Created an attachment (id=328) Patch to fix the symling

          xlv added a comment -

          I know I now have commit privileges but I'm not sure this should be committed as
          is so I attached a patch instead of fixing the issue directly...

          xlv added a comment - I know I now have commit privileges but I'm not sure this should be committed as is so I attached a patch instead of fixing the issue directly...

          Alan Harder added a comment -

          started

          Alan Harder added a comment - started

          Code changed in hudson
          User: : mindless
          Path:
          trunk/hudson/main/core/src/main/java/hudson/model/AbstractBuild.java
          trunk/hudson/main/test/src/test/java/hudson/model/AbstractProjectTest.java
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=23973
          Log:
          [FIXED JENKINS-1986] Update or remove lastSuccessful/lastStable symlinks on filesystem
          as appropriate when a build is deleted. Based on patch from xlv.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : mindless Path: trunk/hudson/main/core/src/main/java/hudson/model/AbstractBuild.java trunk/hudson/main/test/src/test/java/hudson/model/AbstractProjectTest.java trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=23973 Log: [FIXED JENKINS-1986] Update or remove lastSuccessful/lastStable symlinks on filesystem as appropriate when a build is deleted. Based on patch from xlv.

            mindless Alan Harder
            xlv xlv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: