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

          Alex Taylor created issue -
          Kristin Whetstone made changes -
          Assignee New: Kristin Whetstone [ kwhetstone ]
          Kristin Whetstone made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          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.
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 169952 ] New: JNJira + In-Review [ 185708 ]
          Alex Taylor made changes -
          Summary Original: When using a custom build directory, the moving a job folder does not initially carry over previous builds New: When using a custom build directory, the renaming a job folder does not initially carry over previous builds

          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.
          Ryan Campbell made changes -
          Link New: This issue duplicates JENKINS-44657 [ JENKINS-44657 ]
          Ryan Campbell made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: In Progress [ 3 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: