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

Bamboo does not checkout Perforce changelist that exist in the branch

      Issue Summary

      Bamboo will checkout the latest changelist in the first build even though it does not exist in the branch. When switching branch in the repository, Bamboo does not checkout the changelist that exist in the branch too.

      Steps to Reproduce

      1. Create branch1 (changelist 10) and branch2 (changelist 11 - the latest changelist in repo) in Perforce
      2. Configure a plan to checkout branch1
      3. Run the plan
      4. Add a commit into branch2 - latest changelist 12
      5. Run the plan
      6. Add a commit into branch1 - latest changelist 13
      7. Run the plan
      8. Edit the repository to configure it to checkout branch2
      9. Run the plan

      Expected Results

      1. First run will show revision 10
      2. Second run will show revision 10
      3. Third run will show revision 13
      4. Fourth run will show 12

      Actual Results

      1. First run show revision 11 - this changelist does not exist in branch1
      2. Second run show revision 11 - new changelist 12 in branch2 does not affect the build
      3. Third run show revision 13 - only detect new changelist in branch1
      4. Fourth run will show 13 - this changelist does not exist in branch2

            [BAM-20220] Bamboo does not checkout Perforce changelist that exist in the branch

            Martyna Wojtas (Inactive) made changes -
            Resolution New: Timed out [ 10 ]
            Status Original: Gathering Impact [ 12072 ] New: Closed [ 6 ]
            Martyna Wojtas (Inactive) made changes -
            Labels New: bamboo-bugs-grooming
            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 [ 3077878 ] New: JAC Bug Workflow v3 [ 3385997 ]
            Status Original: Open [ 1 ] New: Needs Triage [ 10030 ]
            Patricio made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 414183 ]
            Pawel Skierczynski made changes -
            Occurrence Factor New: 10% [ 12830 ]
            Status Original: Needs Triage [ 10030 ] New: Open [ 1 ]
            Alexey Chystoprudov made changes -
            Component/s New: Repository (Perforce) [ 12010 ]
            SET Analytics Bot made changes -
            Support reference count New: 1
            Foong (Inactive) made changes -
            Description Original: h3. Issue Summary
            Bamboo will checkout the latest changelist in the first build even though it does not exist in the branch. When switching branch in the repository, Bamboo does not checkout the changelist that exist in the branch too.

            h3. Steps to Reproduce
            # Create branch1 (changelist 10) and branch2 (changelist 12 - the latest changelist in repo) in Perforce
            # Configure a plan to checkout branch1
            # Run the plan
            # Add a commit into branch1 - latest changelist 13
            # Run the plan
            # Edit the repository to configure it to checkout branch2
            # Run the plan

            h3. Expected Results
            # First run will show revision 10
            # Second run will show revision 13
            # Third run will show revision 12

            h3. Actual Results
            # First run show revision 12
            # Second run show revision 13
            # Third run show revision 13
            New: h3. Issue Summary
            Bamboo will checkout the latest changelist in the first build even though it does not exist in the branch. When switching branch in the repository, Bamboo does not checkout the changelist that exist in the branch too.

            h3. Steps to Reproduce
            # Create branch1 (changelist 10) and branch2 (changelist 11 - the latest changelist in repo) in Perforce
            # Configure a plan to checkout branch1
            # Run the plan
            # Add a commit into branch2 - latest changelist 12
            # Run the plan
            # Add a commit into branch1 - latest changelist 13
            # Run the plan
            # Edit the repository to configure it to checkout branch2
            # Run the plan

            h3. Expected Results
            # First run will show revision 10
            # Second run will show revision 10
            # Third run will show revision 13
            # Fourth run will show 12

            h3. Actual Results
            # First run show revision 11 - this changelist does not exist in branch1 (x)
            # Second run show revision 11 - new changelist 12 in branch2 does not affect the build (/)
            # Third run show revision 13 - only detect new changelist in branch1 (/)
            # Fourth run will show 13 - this changelist does not exist in branch2 (x)
            Foong (Inactive) created issue -

              Unassigned Unassigned
              klfoong Foong (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: