[Buildbot-devel] Help with p4 master side step creation
William Deegan
bill at baddogconsulting.com
Mon Apr 30 00:17:05 UTC 2012
Greetings,
I'm working on creating a master side source step for perforce. (p4).
I'm running into an issue where the parameter "p4client" is not getting rendered.
Here's the current code:
https://github.com/bdbaddog/buildbot/blob/p4_master_source_step/master/buildbot/steps/source/p4.py
I'm sure there's something simple I'm not doing, but the following call to P4:
builder.addStep(buildbot.steps.source.p4.P4(p4port = p4port,
p4client='buildbot_%(slave)s_%(builder)s',
p4user = p4user,
p4base = branchP4Path+'/',
p4extra_views = p4extra_views,
# mode = 'incremental',
mode = 'full',
timeout = 3600))
Yields the p4client being unrendered, even on the slave side..
Here's the slave log:
2012-04-29 17:04:00-0700 [Broker,client] argv: ['p4', '-p', 'p4host.company.com:1666', '-u', 'bdbaddog', '-c', 'buildbot_%(slave)s_%(builder)s', 'sync']
Any help is appreciated.
Thanks,
Bill
More information about the devel
mailing list