[Buildbot-devel] Help with p4 master side step creation

Tom Prince tom.prince at ualberta.net
Mon Apr 30 13:28:39 UTC 2012


On Sun, Apr 29, 2012 at 7:17 PM, William Deegan
<bill at baddogconsulting.com> wrote:
>        builder.addStep(buildbot.steps.source.p4.P4(p4port = p4port,
>                                                    p4client='buildbot_%(slave)s_%(builder)s',
If you want something rendered, you need to specify a renderable,
instead of just a string (explicit is better than implicit). You
probably want

p4client='WithProperties('buildbot_%(slave)s_%(builder)s',
or in 0.8.7+

p4client='Interpolate('buildbot_%(prop:slave)s_%(prop:builder)s',
>                                                    p4user = p4user,
>                                                    p4base = branchP4Path+'/',
>                                                    p4extra_views = p4extra_views,
> #                                                    mode = 'incremental',
>                                                    mode = 'full',
>                                                    timeout = 3600))


More information about the devel mailing list