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

Zhu Jia Cheng realalien at gmail.com
Wed Mar 3 05:43:44 UTC 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20100303/a7bd9a64/attachment.html>


More information about the devel mailing list