Plan branches are used to represent a branch in your version control repository, where the plan branch uses the same build configuration as your plan. Tools such as Git and Mercurial encourage a practice called feature branching, where a developer can use a new branch to work in isolation from his or her team members before merging their changes back into main line development. This guarantees that their new code functions correctly before sharing the changes with the rest of the team. However, changes made on a branch may not be built and tested by Bamboo unless the developer sets up a new build plan, or clones an existing plan that is configured to build the new branch. When using plan branches, any new branch that is created is automatically built and tested using the build configuration of the plan that plan branches was enabled for. Optionally, changes from the feature branch can be merged back to the "master" (e.g. trunk, default or mainline branch). Note that you need to 'favourite' a plan branch in order to receive notifications about build results for it. 計画のブランチングを有効化するWhen you activate plan branching, Bamboo automatically creates branches whenever the source repo is branched. You can also create a plan branch manually. Whichever way the plan branch is created, the default plan maintains the structure and configuration of it's branch plans. However, you can override the following settings in a branch plan: - the source repository, so that the branch uses a different repository from the default plan.
- the plan variables, so that the branch uses different variables from the default plan.
To see a list of branches for a plan, click on the branch icon beside a plan name on the All Plans tab. Select a branch name from the list to go directly to the summary page for that branch plan. |