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

Perforce Building on Multiple Agents Doesn't Detect Changes Correctly

      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.

            [BAM-2843] Perforce Building on Multiple Agents Doesn't Detect Changes Correctly

            Marcin Gardias made changes -
            Resolution New: Answered [ 9 ]
            Status Original: Gathering Impact [ 12072 ] New: Closed [ 6 ]

            Support for Perforce is deprecated and scheduled to be removed in Bamboo 10.0

            Marcin Gardias added a comment - Support for Perforce is deprecated and scheduled to be removed in Bamboo 10.0
            Pawel Skierczynski made changes -
            Status Original: Needs Triage [ 10030 ] New: Gathering Impact [ 12072 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 1436082 ] New: JAC Bug Workflow v3 [ 3385821 ]
            Status Original: Open [ 1 ] New: Needs Triage [ 10030 ]
            Owen made changes -
            Symptom Severity Original: Major [ 14431 ] New: Severity 2 - Major [ 15831 ]
            jonah (Inactive) made changes -
            Symptom Severity New: Major [ 14431 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1409863 ] New: Bamboo Workflow 2016 v1 - Restricted [ 1436082 ]
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 609283 ] New: Bamboo Workflow 2016 v1 [ 1409863 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2014 [ 600740 ] New: Bamboo Workflow 2014 v2 [ 609283 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2010 [ 201023 ] New: Bamboo Workflow 2014 [ 600740 ]

              Unassigned Unassigned
              bmccoy bmccoy
              Affected customers:
              13 This affects my team
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: