[Buildbot-devel] Halting on triggered failures

Marijn Vriens marijnvriens at gmail.com
Sun Jul 26 13:25:00 UTC 2009


Hi list,

How to I halt the build when one or more of the triggered builds fail?

I have a triggerable scheduler "testers" that has builder associated
"steward-py2.5" and "steward-py2.6".

c['schedulers'].append(Triggerable(name="testers",
builderNames=["steward-py2.5", "steward-py2.6"]))

There is a builders that only triggers other builders, after the testers
return success, there should the "packager".

f = factory.BuildFactory()
f.addStep(Trigger(schedulerNames=['testers'], waitForFinish=True),
haltOnFailure=True)
f.addStep(Trigger(schedulerNames=['packager'], waitForFinish=True),
haltOnFailure=True)

So, how do I make packager only run when all the testers return success. I
had hoped that "haltOnFailure=True" would ensure it. However, I have now
seen one platform's test fail, and the build still triggering the "packager"
build.

Anyone know how to do this?

Regards,
        Marijn.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20090726/37623972/attachment.html>


More information about the devel mailing list