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

Allow running the same plan with different parameters (ie. plans templates)

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • 4.0
    • Agents
    • None
    • 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.

      I have a c++ project (cmake based) where I want the following steps to be executed:
      Configure -> Build -> Test -> Package -> Distribute
      I want to alter the configure task so that I can run against different compilers or with different compiler flags. The only way to do it with Bamboo is to duplicate the plan. This means that next time I want to modify my plan, I will have to modify X plans instead of just 1. This is just not possible given the number of configurations we need to test.

      What we would need is "plan templates", ie. a way to define a plan containing parameters. We would then define plans based on the template and just defining the parameters. Any change to the plan template would be immediately seen in the plans based on the template.

            [BAM-9189] Allow running the same plan with different parameters (ie. plans templates)

            Interesting to see that bugs that are linked to existing feature requests are closed as "Fixed", as it the problem would go away and in fact it didn't. I would see Duplicate closer to reality.

            Sorin Sbarnea added a comment - Interesting to see that bugs that are linked to existing feature requests are closed as "Fixed", as it the problem would go away and in fact it didn't. I would see Duplicate closer to reality.

            ogierke, I believe BAM-5813 covers the matrix style plan described.

            James Dumay added a comment - ogierke , I believe BAM-5813 covers the matrix style plan described.

            It's a bit ironic to fix an issue with the hint to a totally unrelated feature. Is there any other place the original issue is tracked?

            Oliver Gierke added a comment - It's a bit ironic to fix an issue with the hint to a totally unrelated feature. Is there any other place the original issue is tracked?

            So, can this be reopened or do we need to create a new issue?

            Paudi Moriarty added a comment - So, can this be reopened or do we need to create a new issue?

            Or take a look at Team City project templates

            Vladimir Berezniker added a comment - Or take a look at Team City project templates

            Paudi Moriarty added a comment - See https://wiki.jenkins-ci.org/display/JENKINS/Building+a+matrix+project for the Jenkins implementation.

            Yes, Plan Branches only covers a small subset of the use cases for this feature. What about matrix testing for supported platforms (eg JDK)?

            Paudi Moriarty added a comment - Yes, Plan Branches only covers a small subset of the use cases for this feature. What about matrix testing for supported platforms (eg JDK)?

            Ron Chan added a comment -

            Hello,

            Am I missing something here? I came upon this ticket item because it was supposed to address this issue https://answers.atlassian.com/questions/1268/how-to-run-the-same-plan-on-multiple-agents. Please explain to me how this ticket could possibly be resolved with a "Plan branches" feature? Please explain how would this allow the same plan to run in multiple agents?

            Ron Chan added a comment - Hello, Am I missing something here? I came upon this ticket item because it was supposed to address this issue https://answers.atlassian.com/questions/1268/how-to-run-the-same-plan-on-multiple-agents . Please explain to me how this ticket could possibly be resolved with a "Plan branches" feature? Please explain how would this allow the same plan to run in multiple agents?

            James Dumay added a comment - - edited

            Hi all,

            This week we are introducing Plan branches as part of Bamboo 4.0. Plan Branches are a Bamboo Plan configuration that represent a branch in your version control system.

            Plan Branches inherit all of the configuration defined by the parent Plan, except that instead of building against the repository's main line, they build against a specified branch (or you can build the same branch as the Plan, its up to you). It is also worth noting that only users with edit access to the Plan can create Plan Branches that inherit from that plan.

            Plan Branches can also override Plan variables that are specified in the parent plan, which allow your to specify different parameters to the build.

            We will be announcing this feature soon on the Atlassian website. If you have any questions or concerns feel free to comment on this ticket.

            Thanks
            James

            James Dumay added a comment - - edited Hi all, This week we are introducing Plan branches as part of Bamboo 4.0. Plan Branches are a Bamboo Plan configuration that represent a branch in your version control system. Plan Branches inherit all of the configuration defined by the parent Plan, except that instead of building against the repository's main line, they build against a specified branch (or you can build the same branch as the Plan, its up to you). It is also worth noting that only users with edit access to the Plan can create Plan Branches that inherit from that plan. Plan Branches can also override Plan variables that are specified in the parent plan, which allow your to specify different parameters to the build. We will be announcing this feature soon on the Atlassian website. If you have any questions or concerns feel free to comment on this ticket. Thanks James

            Gets my vote as well for largely the same use cases described above

            David Corley added a comment - Gets my vote as well for largely the same use cases described above

              Unassigned Unassigned
              0905993b4269 Barthelemy von Haller
              Votes:
              11 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: