How i can create a delay between build steps with Command Line or Custom script?

Hi, I have a build with differents steps and i want to create a delay between the diferents steps with a new step using a Command Line or a Custom script but I can't find documentation of what script or command line I have to create.

Thanks!

 

0
2 comments

Hello Alejandro,

You can use the Command line build runner to run a command to sleep during the period that suits your needs.

As an example if your agent is running on windows, to wait for 30 seconds you could pass in the field "Custom script": "powershell Start-Sleep -s 30", or just "sleep 30" for Mac OS/Linux.

Please let us know if this works for you.

Thank you, 

Guilherme

0

Thank you very much for your help, it worked perfectly for me

0

Please sign in to leave a comment.