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

When using a custom build directory, the renaming a job folder does not initially carry over previous builds

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • core
    • None

      If someone is using a custom build directory, when trying to move Jobs between folders it will not carry over the build history until the configuration is edited and saved.

      So with every job that is moved using either the move/copy/promote or moving it inside of the file system they have to hit Configure then save in order to see previous build info.

          [JENKINS-33941] When using a custom build directory, the renaming a job folder does not initially carry over previous builds

          I've been looking at this and found some other odd behavior depending on the different combinations of home directories. Investigating and fixing.

          Kristin Whetstone added a comment - I've been looking at this and found some other odd behavior depending on the different combinations of home directories. Investigating and fixing.

          Jesse Glick added a comment -

          Possibly the Job.renameTo override needs to be replaced with an ItemListener.onLocationChanged implementation.

          Jesse Glick added a comment - Possibly the Job.renameTo override needs to be replaced with an ItemListener.onLocationChanged implementation.

          Jesse Glick added a comment -

          Use git blame to look up the issue associated with the existing code and link it to this issue.

          Jesse Glick added a comment - Use git blame to look up the issue associated with the existing code and link it to this issue.

          Alex Taylor added a comment -

          OK so I think move/copy/promote is fixed now but renaming inside of core is not working.

          kwhetstone Should I make a new defect for this? Clearly I initially reported it to be MCP but tagged it correctly in core.

          Alex Taylor added a comment - OK so I think move/copy/promote is fixed now but renaming inside of core is not working. kwhetstone Should I make a new defect for this? Clearly I initially reported it to be MCP but tagged it correctly in core.

            kwhetstone Kristin Whetstone
            ataylor Alex Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: