Dynamic Sleep time to execute next step in pipeline

2019-12-01 Thread Ramesh Mari
Hello Guys, This is one tricky question, Please review the problem statement and advise me how to get into further. I have pipeline code which is combined of groovy and sh script. Refer the below sample one, based on that the line 4 code should be execute once ssh commend done in the

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 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