[users at bb.net] How to interpolate a Property with dictionary value

Alexey Demakov demakov at ispras.ru
Tue Jan 2 19:53:15 UTC 2018


Use renderer instead of interpolate:

https://stackoverflow.com/questions/41817398/how-to-access-a-property-variable-of-buildbot-which-is-a-dictionary

http://docs.buildbot.net/latest/manual/cfg-properties.html#renderer


On 02.01.2018 15:40, Martin Liška wrote:
> Hi.
>
> I have following Property from 'Force Build Form':
>
> Name	Value	Source
> options	{"spec_options":"-O2 -march=native","spec_version":"2006"}	Force Build Form
>
> My question is how to interpolate 'spec_options' subkey?
>
> %(prop:options:spec_version)s selector does not work.
>
> Thanks,
> Martin
> _______________________________________________
> users mailing list
> users at buildbot.net
> https://lists.buildbot.net/mailman/listinfo/users



More information about the users mailing list