[Buildbot-devel] Jumping over the next "addStep"
Nikunj Badjatya
nikunjbadjatya at gmail.com
Mon May 16 06:31:03 UTC 2011
Hi,
I am using :
*Buildbot version: 0.7.12
Twisted version: 9.0.0
Python ver 2.6.6
CentOS 5.6*
I have a question regarding addStep function. Suppose there is one
'f.addStep( )' which uses 'shell.ShellCommand(..)'. If a shell command is
taking too much time to reach its completion. Its usual execution time is
not fixed and varies as per source taken. So using 'timeout' of 'maxTime'
is of no use.
Now I want to jump over this particular 'addStep' to start next 'addStep' .
!
How I can accomplish this functionality. ??
{{{
Ex.
*f.addStep( shell.ShellCommand( workdir=basedir, command="./execution.sh ;
", timeout = 6000, description=["Doing execution"], descriptionDone=["Done
execution"])*
now *execution.sh* taking too much time to complete. And I want to jump to
next step which could be anything else.
*f.addStep( shell.ShellCommand( workdir=basedir, command="./next.sh ; ",
timeout = 6000, description=["Doing next"], descriptionDone=["Done next"])*
}}}
Please let me know how this can be accomplished. !!
Thanks,
Nikunj
Bangalore, India
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20110516/db6a2d40/attachment.html>
More information about the devel
mailing list