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

Keep history of jobs config changes when they are moved across folders

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Job Config History 2.12

      When using the CloudBees Folder Plugin it is possible to move a job/item from a folder to another. Currently such operation looses the history of config changes in the job because the job config history files aren't updated/moved

      For this you probably need to implement the standard relocation handler to update job config history files accordingly: https://github.com/jenkinsci/cloudbees-folder-plugin/blob/master/src/main/java/com/cloudbees/hudson/plugins/folder/relocate/StandardHandler.java

          [JENKINS-30828] Keep history of jobs config changes when they are moved across folders

          Arnaud Héritier created issue -
          Arnaud Héritier made changes -
          Description Original: When using the [CloudBees Folder Plugin](https://wiki.jenkins-ci.org/display/JENKINS/CloudBees+Folders+Plugin) it is possible to move a job/item from a folder to another. Currently such operation looses the history of config changes in the job because the job config history files aren't updated/moved

          For this you probably need to implement the standard relocation handler to update job config history files accordingly: https://github.com/jenkinsci/cloudbees-folder-plugin/blob/master/src/main/java/com/cloudbees/hudson/plugins/folder/relocate/StandardHandler.java
          New: When using the [CloudBees Folder Plugin|https://wiki.jenkins-ci.org/display/JENKINS/CloudBees+Folders+Plugin| it is possible to move a job/item from a folder to another. Currently such operation looses the history of config changes in the job because the job config history files aren't updated/moved

          For this you probably need to implement the standard relocation handler to update job config history files accordingly: https://github.com/jenkinsci/cloudbees-folder-plugin/blob/master/src/main/java/com/cloudbees/hudson/plugins/folder/relocate/StandardHandler.java
          Arnaud Héritier made changes -
          Description Original: When using the [CloudBees Folder Plugin|https://wiki.jenkins-ci.org/display/JENKINS/CloudBees+Folders+Plugin| it is possible to move a job/item from a folder to another. Currently such operation looses the history of config changes in the job because the job config history files aren't updated/moved

          For this you probably need to implement the standard relocation handler to update job config history files accordingly: https://github.com/jenkinsci/cloudbees-folder-plugin/blob/master/src/main/java/com/cloudbees/hudson/plugins/folder/relocate/StandardHandler.java
          New: When using the [CloudBees Folder Plugin|https://wiki.jenkins-ci.org/display/JENKINS/CloudBees+Folders+Plugin] it is possible to move a job/item from a folder to another. Currently such operation looses the history of config changes in the job because the job config history files aren't updated/moved

          For this you probably need to implement the standard relocation handler to update job config history files accordingly: https://github.com/jenkinsci/cloudbees-folder-plugin/blob/master/src/main/java/com/cloudbees/hudson/plugins/folder/relocate/StandardHandler.java
          Jochen A. Fürbacher made changes -
          Link New: This issue is related to JENKINS-33998 [ JENKINS-33998 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 165955 ] New: JNJira + In-Review [ 182224 ]
          CloudBees Inc. made changes -
          Remote Link New: This issue links to "CloudBees Internal OSS-287 (Web Link)" [ 18922 ]

            mfriedenhagen Mirko Friedenhagen
            aheritier Arnaud Héritier
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: