[users at bb.net] Pausing between build steps

honas grael honasgraeymael at gmail.com
Thu May 12 16:58:26 UTC 2016


Hi in my buildbot build process I've got a number of steps, essentially
once a build has been done and an executable created, I need to launch it,
once launched I need to run another application that connects to the first
in order to run a few tests. The steps are essentially


   1. Build Application_exe_one
   2. Run Application_exe_one
   3. Wait 30 seconds for Application_exe_one to spin up
   4. Run Application_exe_two

Now my question is how do I pause? How do I insert a break,delay in the
build steps so that there is a time delay between launching the two
applications?

Things that I have already tried

f.addStep(steps.ShellCommand(command=["cmd", "/c timeout /t 30"]))

f.addStep(steps.ShellCommand(command=["cmd", "/c SLEEP 30"]))

Neither of these didn't really seem to wait.

What is the recommended way to insert pauses/delays between build stepss

Note: I'm on windows 7 using buildbot 0.9.0b4

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20160512/c136d0ed/attachment.html>


More information about the users mailing list