[Buildbot-devel] Interpolate doesn't work with Source
Dustin J. Mitchell
dustin at v.igoro.us
Sun Aug 11 02:01:59 UTC 2013
On Thu, Aug 1, 2013 at 3:20 PM, Kenny Ho <kenny.ho at jamdeo.com> wrote:
> 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 think you're using the old slave-side Repo class, which doesn't
render manifest_branch.
While I was looking, I noticed that the step references
self.build.pathmodule, and fakes that for the tests, but I see nowhere
that that attribute is set in production code, so the step fails in
production. That's a bit odd! Pierre, do you recall what that was
about?
Dustin
More information about the devel
mailing list