How to copy a Jenkins Job that in a different Folder/directory and create a new job from it.
Dec 14, 2023
Here FROMFOLDER is my folder and I have a job called MyOldJob.
https://jenkins.com/job/FROMFOLDER/job/MyOldJob/
I have another folder as MYTOFOLDER,
https://jenkins.com/job/MYTOFOLDER/
so I want to create a new job called MyNewJob by copying MyOldJob.
How can I do that?
First enter MyNewJob
You can use below words. in Copy from field.
/FROMFOLDER/MyOldJob
It won’t auto-complete but works.
Answer credeit-Koen Wesselman in https://salesforce.stackexchange.com/questions/186792/how-to-clone-a-jenkins-job-in-a-different-folder