[Buildbot-devel] Trigger steps should be able to extract properties from the triggered build

Pierre Tardy tardyp at gmail.com
Mon Mar 17 13:23:05 UTC 2014


well query json, is a bit hacky indeed.

You can just access the status API in your subclassed Trigger. trigger.py
is already doing something like this to get the build urls.

The problem is that trigger.py is not very well factorized to allow easy
subclass customization.
This is much better in nine branch.



Pierre


On Mon, Mar 17, 2014 at 2:14 PM, Vasily <vasslitvinov at pisem.net> wrote:

> Hi Yasser,
>
> I can suggest a dumb, but probably working way - you can subclass
> Trigger() and query e.g. Buidbot JSON interface to get the list of
> properties defined by triggered build.
> That is certainly |working backwards" to how Buildbot is designed, but
> that may lead you somewhere.
>
> Thanks,
> Vasily
>
>
> 2014-03-17 15:40 GMT+04:00 Yasser LEBON <yasser.lebon at gmail.com>:
>
>> Hi all,
>>
>> Until the following problem is resolved, does someone know how to work
>> round the following  problem http://trac.buildbot.net/ticket/2167 ?
>> Thanks.
>>
>>
>> Yasser
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and their
>> applications. Written by three acclaimed leaders in the field,
>> this first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/13534_NeoTech
>> _______________________________________________
>> Buildbot-devel mailing list
>> Buildbot-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>>
>>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20140317/79345c99/attachment.html>


More information about the devel mailing list