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

All plan branches are set to master (default branch) if the repository configuration is re-added

    XMLWordPrintable

Details

    Description

      Steps to Reproduce

      1. Create a Plan in Bamboo with a Bitbucket linked repository
      2. Create multiple plan branches pointing to branches in the same repository
      3. Remove the Bitbucket linked repository from the tested plan
      4. Add the linked repository back to the plan

      The same behavior is observed if the repository order is changed inside the plan.

      Expected Results

      The source branch of the plan branch is pointing to the branch is was designated when created

      Actual Results

      Once the repository is removed/added all the plan branches are set to the default source branch configured in the linked repository.

      As s symptom, every change in the default branch will trigger the build for all the plan branches

      Workaround

      Manually set back the right branch on each of the plan branches of the affected plan.
       Try to avoid removing or changing the order of the repositories.

      Attachments

        Issue Links

          Activity

            People

              mgardias Marcin Gardias
              dsantos Daniel Santos
              Votes:
              13 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: