[users at bb.net] Adding Build Changelog to email notifications?

Pierre Tardy tardyp at gmail.com
Fri Feb 22 09:20:36 UTC 2019


The list of changes nowadays is available via *path: *
/builds/{buildid}/changes

http://docs.buildbot.net/2.0.1/developer/rest.html#id10

which is also available via data api, so you can submit a PR with something
like this:

https://github.com/buildbot/buildbot/blob/fb0afec8c6dd44f7d1fbe78eaef1938d1c8472ed/master/buildbot/reporters/utils.py#L94-L97
Regards,
Pierre
if wantChanges:
buildchanges = yield defer.gatherResults(
[master.data.get(("builds", build['buildid'], 'changes'))
for build in builds])


On Wed, Feb 20, 2019 at 6:39 PM Yngve N. Pettersen <yngve at vivaldi.com>
wrote:

> Hi,
>
> I am in the process of deploying a new autobuilder based on Buildbot
> v2.0.0, and currently one of the few missing features of the system
> compared to the old is that the changelog entires for the build are
> missing.
>
> We have this in email notifications from our current system, based on
> Chromium's buildbot 0.8.4ish, although that was a customization of the
> buildbot code.
>
> Based on what I can see there is no way to retrieve those data from the
> email template, and AFAICT the
> master.buildbot.reporters.utils.getDetailsForBuilds function does not
> extract that information.
>
> Am I missing something, or is the list of changes missing?
>
> --
> Sincerely,
> Yngve N. Pettersen
> Vivaldi Technologies AS
> _______________________________________________
> 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/20190222/76b74333/attachment.html>


More information about the users mailing list