Re: How to copy a folder one location to another location via jenkins.instance groovy scripts

2019-11-14 Thread Ramesh Mari
Hi James, I tried all the way what you have mentioned, but it only copy the job alone without build history and also the copied job as non-build able for that we need to trigger save function additionally. I raised a ticket to cloudbees they only give support for subscription. can you

How to copy a folder one location to another location via jenkins.instance groovy scripts

2019-11-13 Thread James Nord
this is not as simple as it sounds. first off a disclaimer CloudBees (my employer) as a proprietary feature that does this. the reason it is not simple is each job type may have special folders. then you have builds which again may have artifacts may have special files etc etc... trust me

How to copy a folder one location to another location via jenkins.instance groovy scripts

2019-11-13 Thread Ramesh Mari
Hello guys, This task might have one challenge to you, the question is simple but the implications is very tricky. Please refer the below questions. Requirements - jenkins groovy scripts Folder copy one location to another location via jenkins.instance. There is method call items.move it