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 <[email protected]> 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
> [email protected]
> https://lists.buildbot.net/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
https://lists.buildbot.net/mailman/listinfo/users

Reply via email to