[Buildbot-devel] doStepIf examples?

Stephen Davis buildbot at soundgeek.org
Thu Aug 14 16:39:29 UTC 2014


As a followup to my last question on haltOnFailure, does anybody have an example of adding a doStepIf parameter to a build step to prevent it from running if the current build state is "failed" (meaning that a previous step failed).

I have a build that is essentially:

scm update
build Debug
build Release
run unit tests
run perf tests
run perf tests results db update

I don't want the last three steps to run if any of the preceding steps failed but I want the build to go as far as it can in general so I don't want to set haltOnFailure=True on all of the preceding steps.

thanks,
stephen




More information about the devel mailing list