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

Get Perforce Alternat Roots to Work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.0.3
    • 2.0 beta 5
    • Repository (Perforce)
    • None

    Description

      From the perforce docs

      "If you have any AltRoots: configured, your Perforce client program compares the current working directory against the main Root: first, and then against the alternate roots, and uses the first root that matches the current working directory as the workspace root for that command. If no roots match, the main workspace root is used."

      That means that currently perforce will not be able to find any of the roots and will default to the main root. If this main root doesn't exist it creates it within the current working directory (wherever bamboo is running from).

      The only solution to this is to determine which root exists before hand and set the running directory to this. This is relatively substantial change to the perforce back-end.

      For now we not build unless the main root exists, to avoid the whole alt root problem.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: