Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-2321

Perforce failing to connect on agent

    XMLWordPrintable

Details

    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

      Attachments

        Activity

          People

            bmccoy bmccoy
            bmccoy bmccoy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h Time Not Required
                3h