[users at bb.net] Query related to getting buildbot object instance

Pierre Tardy tardyp at gmail.com
Tue Jun 14 08:29:14 UTC 2016


Hi Nilay,

I am not sure exactly what is your request.

Usually, when you need customization that is not possible by just
configuring the buildbot object, you might want to just subclass that
object.
In this case, you would  mailnotifier do not have much option to customize
the subject of the email, so you would have to subclass it.

Please note that such subclassing might not be portable with subsequent
buildbot releases.
Notably buildbot nine mailnotifier has changed a lot, so you will need to
rewrite your subclassing code when you upgrade

Regards
Pierre


Le mar. 14 juin 2016 à 03:20, Nilay Chheda <mit2nil at gmail.com> a écrit :

> Hi,
>
> I am new to buildbot community. I am working on some existing buildbot
> code for one project. Code mainly contains few builders/schedulers/status
> notifier etc. in BuilderConfig dict.
>
> I want to send custom mail notification with certain build properties in
> the mail subject itself. In mail body I have build object instance coming
> as a parameter. How can I get custom build object in my master.cfg file
> itself?
>
> I went through several files on buildbot github and tried to search in
> buildbot documentation but not able to figure out way to do it.
>
> I am using buildbot 0.8.12. Thanks for your help.
>
> --
> Regards,
> *Nilay Chheda*
>
> _______________________________________________
> users mailing list
> users at buildbot.net
> https://lists.buildbot.net/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20160614/c1f62bdc/attachment.html>


More information about the users mailing list