Perforce required on server?

I'm trying to setup perforce as a VCS root in TeamCity, but I only want to checkout from an agent machine. I have p4 installed on the agent machine however I get an error "Unable to find P4 executable is not specified" (TeamCity v 6.0.2) when trying to connect

Is this because we need to install Perforce on the server as well as the agent?

1 comment
Comment actions Permalink

Hi Du,

Yes. The VCS root has a path to p4.exe that you need to specify and this is on TC server. I believe this is needed because TC server polls Perforce if there are any new changes. If you specify agent checkout in the build that consumes the VCS root, it will use p4.exe on the agent to actually sync the files from Perforce.

Hope this helps,
Oleg

0

Please sign in to leave a comment.