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

Bamboo immediately begins Gatekeepering/pushing manually-created branches

      Create a new plan and configure Gatekeeper with push enabled. Use a regex for automatic plan branching, e.g. /gatekeeper-/ so only branches containing "gatekeeper-" will be automatically created and set up with Gatekeeper.

      Now, create a VCS branch whose name doesn't contain gatekeeper- e.g. "dangerous-do-not-merge." Go to the plan's branches page and click "Create Branch," select your branch, and click "Create."

      On the branch configuration UI, you'll now have the option to set branch settings, e.g. to set up Branch Updater, or disable push, or even disable the branch build altogether while you configure other settings.

      Actual: While you're reading that page, Bamboo will automatically kick off a Gatekeeper build of dangerous-do-not-merge, with push enabled. You have to quickly go in and kill the build before it commits those changes to the master branch.

      Expected: An "Enable Branch" checkbox on the default "Create Branch" dialog.

      Today, the Create Branch dialog has two modes, one to "Auto-detect VCS branches" (which is different from automatic plan branching; it's just auto-detecting and listing branches for you to manually create) and another to "Create branch manually." There's an "Enable Branch" checkbox in the "Create branch manually" mode, unchecked by default, but there isn't a corresponding checkbox in the "Auto-detect VCS branches" list mode. (Screenshots attached.)

      That means that it's dangerous to use the "Auto-detect VCS branches" mode (the default) together with automatic plan branching and branch merging, because if you use it, it's going to immediately start checking in code unless you kill the build.

        1. Screen Shot 2013-03-16 at 13.36.52 .png
          33 kB
          Dan Fabulich
        2. Screen Shot 2013-03-16 at 13.37.02 .png
          38 kB
          Dan Fabulich

            [BAM-13012] Bamboo immediately begins Gatekeepering/pushing manually-created branches

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 1436483 ] New: JAC Bug Workflow v3 [ 3384284 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1417943 ] New: Bamboo Workflow 2016 v1 - Restricted [ 1436483 ]
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 606723 ] New: Bamboo Workflow 2016 v1 [ 1417943 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2014 [ 594190 ] New: Bamboo Workflow 2014 v2 [ 606723 ]
            James Dumay made changes -
            Workflow Original: Bamboo Workflow 2010 [ 514797 ] New: Bamboo Workflow 2014 [ 594190 ]
            PiotrA made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            PiotrA made changes -
            Fix Version/s New: 5.0 [ 29794 ]
            PiotrA made changes -
            Assignee New: PiotrA [ pstefaniak ]
            James Dumay made changes -
            Labels Original: gatekeeper New: echo gatekeeper
            James Dumay made changes -
            Labels New: gatekeeper

              pstefaniak PiotrA
              f5401f380876 Dan Fabulich
              Affected customers:
              1 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: