Hi
Is it possible to convert a normal Folder to an Organization Folder, preserving existing jobs/builds?
Hi
Is it possible to convert a normal Folder to an Organization Folder, preserving existing jobs/builds?
The org folder and the project folders are generated and are based on different classes compared to regular folders.
What might work is shutdown Jenkins, then manually adjust the config.xml files of the folders and then start Jenkins again. Most likely it’s not sufficient to just rename the classes/names of the jobs but you will also need to add the configuration of org and branches and the like.
You could create a new org folder with the desired configuration and then stop Jenkins and copy the config files from the new org to the old folder.
In any case that would need thorough testing before applying this, I’ve never tried that out so no guarantee that this works.
Hi
Thanks for the swift response. I was afraid that this was not supported. When I looked at the structure on disk, I found that even de multibranch pipeline projects were slightly different in the 2 cases: organization folder has name_utf8.txt and name mangling for directories with long names.
Like you said, it will not be an easy thing to do.
Best regards