logo       

Re: Buildbot and Perforce: msg#00061

python.buildbot.devel

Subject: Re: Buildbot and Perforce

> 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


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise