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

Deleting the latest successful build doesn't update lastSuccessful symlink

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            xlv xlv added a comment -

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

            Show
            xlv xlv added a comment - Created an attachment (id=328) Patch to fix the symling
            Hide
            xlv 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...

            Show
            xlv 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...
            Hide
            mindless Alan Harder added a comment -

            started

            Show
            mindless Alan Harder added a comment - started
            Hide
            scm_issue_link 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.

            Show
            scm_issue_link 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.

              People

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

                Dates

                Created:
                Updated:
                Resolved: