I have a teamcity server on one machine and agent on another.I want to check out the sources on agent machine.

I have set up all the environment variables in the agent machine and configured those in VCS ROOT.When i click on test connection,

it actually throws an error says that it cannot find a p4 path on server machine,rather that checking connection on agent machine.May be i am missing some settings to check out on agent.



TeamCity connects to the VCS Repository from both the server and the client, so it needs to be available in both. TeamCity connects from the server to have access to the list of revisions and keep a history track of them (without including the content), while passing the revision number to the agent so that it can pull the actual contents. This means that you will need to set the client up in both for it to work.


Please sign in to leave a comment.