[Buildbot-devel] CopyProperties for ShellCommand?

Tom Prince tom.prince at ualberta.net
Sat Apr 14 14:12:16 UTC 2012


On Thu, 12 Apr 2012 16:07:26 -0700, Mike Winter <miwinter at cisco.com> wrote:
> I need to pass a host of properties to a homespun Source kind of step to set the environment up.....and WithProperties is not quite right for I get a render exception, so I searched to

I think you are looking for buildbot.process.properties.Property which
returns the property passed to it unchanged, so in your case it will
return a dict.

If this doesn't do what you want, it easy to write custom
renderable. This isn't really documented anywhere, but amounts to
creating an object that has a getRenderingFor method that takes an
IProperties instance, and returns the value you want to use.

  Tom




More information about the devel mailing list