[Buildbot-devel] Buildbot and Perforce
Brian Warner
warner-buildbot at lothar.com
Tue May 31 19:02:57 UTC 2005
> I am really interested in using buildbot as our build system here but I
> am having trouble combing perforce with a build slave. Perofrce and it's
> view and client are set up correctly for the buildslave, but when
> attempting to run a build it fails.
Based upon those log messages, the 'p4 sync' command failed. There should be
more information (i.e. the stdout/stderr from the p4 command explaining why
it failed) in the log for that build step, available from your buildmaster's
web page. Once the build has failed, you should see a red "p4 sync" box, with
a "log" link.. just follow that link for more details.
Note that step.P4Sync is really rudimentary: doesn't know how to setup the
view spec or check out an initial tree. It only knows how to run 'p4 sync' in
a specified directory. You have to make sure that running that command in
that directory will do what you want. The directory will depend upon how
you've configured the builder, and will be announced in the log for that
step.P4Sync command, but it will be of the form:
slave_basedir + builddir + "source"
hope that helps,
-Brian
More information about the devel
mailing list