[Buildbot-devel] Interpolate doesn't work with Source

Kenny Ho kenny.ho at jamdeo.com
Thu Aug 1 19:20:21 UTC 2013


Hi,

I am using the Repo step and I am trying to key off a Property by passing in a Interpolate:

Repo(manifest_url=url, manifest_branch=Interpolate("%(prop:branch)s"), ...

but instead of turning the object into string, I get the object pass straight into the commands causing error:

cmd.args = {.... 'manifest_branch': <buildbot.process.properties.Interpolate instance at...> , ...}

I looked at the source of the Repo step and renderables seems to be defined.  Does anyone know how to work around this?  I am trying to extend the Repo class, but I don't know how to access the build properties during the __init__ of a build step and I don't know how to trigger an Interpolate render manually to get a string.

Regards,
Kenny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20130801/d75dbb9f/attachment.html>


More information about the devel mailing list