[users at bb.net] Scheduler owner property

Pierre Tardy tardyp at gmail.com
Wed Mar 13 10:41:22 UTC 2019


Hi,

It depends in which context you want to get this information.
The information might be in several places. (owner from change? owner from
force builder, etc)
There is also indeed the 'owner' property, which was later switch to owners
so that there can be several owners.
It is indeed a bit messy, as we try to keep backward compatibility.

So we have a utility function which gather all sources of information.
https://github.com/buildbot/buildbot/blob/8efebda8d217ff88d578c8b3c0d597a276490baa/master/buildbot/reporters/utils.py#L158

Regards
Pierre

On Wed, Mar 13, 2019 at 2:05 AM Yngve N. Pettersen <yngve at vivaldi.com>
wrote:

> Hi,
>
> One of the comments I have received from my colleagues (including the
> CEO)
> about our new build system is that the information about the builds is
> missing information about who committed the changes being built.
>
> This information is available in the "owners" build property, but NOT in
> the "owner" build property, which is specified by the scheduler.
>
> The only example in the documentation shows the owner email addresses
> added as a list. Unfortunately, there is no example for how to add that
> information from the changes that triggered the scheduler (for reference:
> util.Property does not work, "not JSONable").
>
> So, how do I get that property added for each scheduled build?
>
> --
> 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/20190313/dbcd934b/attachment.html>


More information about the users mailing list