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

Default plan branch is not exported to YAML

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 7.2.0, 7.1.2
    • 7.1.0
    • Bamboo Specs
    • None

      Issue Summary

      When plan overrides default branch of linked repository YAML export doesn't generate correct code.

      Steps to Reproduce

      1. Create linked repository
      2. Add repository to plan and override default branch
      3. Export plan to YAML

      Expected Results

      ---
      version: 2
      plan:
        project-key: PROJ
        key: PLAN
        name: My plan
        master-branch: production
      stages:
      ...
      

      Actual Results

      ---
      version: 2
      plan:
        project-key: PROJ
        key: PLAN
        name: My plan
      stages:
      ...
      

      Workaround

      Enter valid branch name when copy content of produced YAML code to repository file

              achystoprudov Alexey Chystoprudov
              achystoprudov Alexey Chystoprudov
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: