Uploaded image for project: 'Bamboo'
  1. Bamboo
  2. BAM-2843

Perforce Building on Multiple Agents Doesn't Detect Changes Correctly

    XMLWordPrintable

    Details

      Description

      Perforce manages which changes/files you have by storing the information on the server. Once you have downloaded the change A with one client it marks that change as being downloaded. If you then use that same client on another machine the Perforce Server will assume you already have change A and not download it.

      This means that using perforce on multiple build agents won't pick up the changes when it syncs. So it could be building incorrect code.

      Because of this you have a few options.

      1. Restrict your plan to use a single machine and (if using multiple agents on the one machine, also set the client root yourself).
      2. Make Bamboo force a clean build every time it builds (okay for smaller projects but a pain for larger ones)
      3. Use alternate roots This would allow you to restrict your plan to 3 machines with 3 different alternate roots (a slightly better alternative than #1). A word of warning though, Bamboo will go through the roots in order till one exists so if you want Bamboo to build in the third root the first two must not exist on that machine.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                13 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Last commented:
                  9 years, 46 weeks, 1 day ago