[Buildbot-devel] Killing running build automatically

Mikhail Sobolev mss at mawhrin.net
Thu Jan 8 14:31:04 UTC 2015


Hi Martijn,
On Thu, Jan 08, 2015 at 02:18:56PM +0100, Martijn van Oosterhout wrote:
> Ok, this is what I have. It appears to work, but I'm not sure if it counts
> as pretty. It took me a while since I didn't quite get the distinction
> between BuildStatus and Build and that you can't get from the former to the
> latter easily.
> 
> It's called the GerritRescheduler, and you define it as a scheduler, so you
> can use all the normal filtering stuff (not tested). For a real patch it
> should probably get a different name since it's not really Gerrit specific.
> It has one new parameter which indicates which property should be used to
> link the changes and builds.
Thank you for sharing.

-- 
Misha




More information about the devel mailing list