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

Make it possible to define custom revision for multiple repositories

    • 1
    • 2
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Currently Bamboo only supports defining custom revision for default repo.

      Workaround

      First, you need to create and push branches with your desired revisions. Then create a custom plan branch:

      Instead of passing “Branch name” click “Create plan branch manually”

      This will allow you to create a branch plan without changing the default repository branch - we will keep it as master.

      Enabling the branch plan can immediately trigger itself after creation, so we will start with it being disabled.

      After clicking “Create” we need to do changes in the branch plan configuration. You should be automatically redirected to it, however, if not you can access it from the branch plan page

      In the first tab of the branch plan config, you should see branches of all repositories used (at the bottom). Here we want to change the Jira Software Application branch.

      Go to the “Repositories” tab.

      Here you need to switch to the desired branch

      Don’t forget to click “Save repository” at the bottom of the repository configuration

      To verify if everything is correct go back to the “Branch details” tab and see what branches are configured.

      For some plans, you may want to also disable automatic triggers of this branch plan. Here we will override it to run only when started manually. Toggle “Change trigger” and set “Trigger type” to “Manual”.

      You should also enable the branch plan and click “Save”.

      Configuration complete

        1. 1.png
          1.png
          60 kB
        2. 2.png
          2.png
          160 kB
        3. 3.png
          3.png
          173 kB
        4. 4.png
          4.png
          146 kB
        5. 5.png
          5.png
          256 kB
        6. 6.png
          6.png
          141 kB
        7. 7.png
          7.png
          31 kB
        8. 8.png
          8.png
          78 kB
        9. 9.png
          9.png
          361 kB

              Unassigned Unassigned
              mgardias Marcin Gardias
              Votes:
              36 Vote for this issue
              Watchers:
              27 Start watching this issue

                Created:
                Updated: