Details
-
Bug
-
Resolution: Fixed
-
High
-
2.0 beta 3
-
None
Description
From forum post: http://forums.atlassian.com/thread.jspa?threadID=23937&tstart=0
Hi,
we are trying to use Bamboo 2.0 Beta 3 together with a Perforce repository. We have set up a remote agent and a build plan accessing the repository but we can't get the agent to synchronize the sources. It invariably fails with the error message
Connect to server failed; check $P4PORT
When you check the log files you see that the agent issues a command of the form
C:/Programs/Perforce/p4.exe workspace -o <client_name>
which causes the error to occur. When you execute the same command manually on the agent machine it works just fine. We tried various workarounds like setting the P4PORT variable either locally in the script that starts the agent or globally in the system environment but to no avail. In principle the Perforce server access data should be transmitted from the Bamboo server (where they are stored in the plan configuration) to the agent but that does not seem to be the case.
Any help in this matter would be greatly appreciated.
Thomas