[Buildbot-devel] Not executing a step if the build is about to fail

Sergey A. Lipnevich sergey at optimaltec.com
Tue Jul 15 02:46:56 UTC 2008


Hi,

I have a build that has the following structure:
	prepare (halt on failure)
	before (halt on failure)
	build (flunk on failure)
	after (flunk on failure)
	package (flunk on failure)
	kick off more builds without waiting for completion

I'd like "package" and "kick off more builds" steps not to run if
anything in front of them in the chain fails (mostly, if "build" fails).
At the same time, if "before" succeeds, "after" *must* run. In effect, I
need a "don't run this step if build as a whole is guaranteed to fail"
flag. What would be the best way to accomplish this?
Thank you,

Sergey.





More information about the devel mailing list