[Buildbot-devel] Help: question about how to subscribe to the builds' status

Marc-Antoine Ruel maruel at chromium.org
Wed Mar 3 15:03:08 UTC 2010


def  builderAdded(...):
  (...)
  return self

That's the return value that signals you care about this builder.

M-A

2010/3/3 Zhu Jia Cheng <realalien at gmail.com>

>
> Hi!
>
> In my experiment, I tried to create a service subscribing the status of
> buildmaster, builders and builds in order to decide next build for previous
> source code change.
>
> The service is much the same as the MailNotifier which 'inherets from
> base.StatusReceiverMultiService' and 'implements(IStatusReceiver)', the only
> difference is the service is not loaded from config file but created at the
> startup of BuildMaster; In master.py#loadConfig_status$$addNewOnes, I also
> set the service parent to BuildMaster and append the new service to the
> buildmaster.statusTargets.
>
> The builderAdded() can be invoked but the buildFinished() not. So *my
> question is how to subscribe to the status of build*.
>
>
> Any hint or suggestion will be appreciated.
>
>
>
> --
>
>
> realalien ( Zhu Jia Cheng)
> email: realalien at gmail.com
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20100303/c1386aa6/attachment.html>


More information about the devel mailing list