I don't seem to be able to find a way to copy jobs from one folder to another using groovy script in Jenkins.
Any pointers would be really helpful
I don't seem to be able to find a way to copy jobs from one folder to another using groovy script in Jenkins.
Any pointers would be really helpful
This S/O post will show you you how to copy jobs
This S/O post will show you how to move jobs.
Essentially, it's either :
Items.copy(item, newName)
or
Items.move(item, folder)