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

Redo file structuring with Folder plugin

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • None
    • Jenkins 1.651.3 and Jenkins 2.32.1.
      Folder plugin version: 5.16

      I'm currently upgrading my Jenkins by installing a fresh Jenkins on another hard drive. The old Jenkins has a bunch of projects in folders using the plugin.

      I cannot move the jobs directory to the new Jenkins (about 600+GB of data) so instead I am trying to point to the old Jenkins jobs directory. The way I am doing it is to modify the 'Build Record Root Directory' path.
      Example: /home/user/jenkins_old/jobs/${ITEM_FULLNAME}/builds

      ${ITEM_FULLNAME} is a variable that represents [folder_name]/[project_name]
      However the folder plugin creates an extra jobs directory in between the two.

      I cannot get my new Jenkins to point to: /home/jenkins_old/jobs/[folder_name]/jobs/[project_name]

      Could this be changed so that the jobs directory in between the folder and project does not exist?

      This would allow for a much smoother process when trying to upgrade to a fresh Jenkins.

            Unassigned Unassigned
            joebarber Joe Barber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: