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

Add a feature to allow bulk "clone" of multiple build plans for a new branch

    XMLWordPrintable

Details

    • 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.

    Description

      For a given release, we now build 12 different products (Bamboo projects) each of which have four different build plans (hourly, daily, promote, comprehensive) = 48+ plans! Bamboo does not currently have the ability to do "bulk" clone for creating ad setting up new plans for a new branch. Therefore, we must manually go through the Create Plan wizard to clone/tweak each plan for a new branch which is very tedious, error prone and time-consuming. See the attachment for example of what our current build plan strategy looks like for a given project.

      I'd like to see a new Bamboo wizard feature that will allow us to clone several build plans across several projects from say "trunk" to "branches/newrelease" all at once. I'd be prompted to answer a few questions/fields:

      Target plan name prefix: // this would be pre-pended to each new plan created to give a user-friendly context . E.g. "8.0.0" would be prefixed to the cloned build plan name so that it would show up as "8.0.0 DAILY"

      Target plan key prefix: // This would be pre-pended to the new cloned plan key. Example: "RELEASE800BRANCH" would be pre-pended to the source plan key "DAILY" to make the new cloned plan key: RELEASE800BRANCHDAILY

      Target branch: // This would be the name of the branch. It would be exposed as new bamboo property that that would get substituted in the Source Repository, Builder, and other pages in the Configuration tab. Example:

      Branch: featurexyz

      This would allow bamboo.branchName to be embedded in the Source Repository like https://my.svn.server/product/foo/branches/$bamboo.branchName and also in the Builder like: ant -Dbranch=$bamboo.branchName.

      Q: Is there a Bamboo API that exposes "Create Plan" objects that would allow us to automate this bulk clone from a command line script?

      Thanks for advice/suggestions.
      -Greg

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gbaysden5150 Greg Baysden
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: