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

Default Branch Plan Variables

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Won't Do
    • None
    • Plan Branches, Variables
    • None
    • 0
    • 1
    • 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.

      We use Bamboo Cloud. I'd like to have certain variables for branch plans set by default when the branch plan is detected/created.

      The particular use case revolves around Salesforce metadata. For a "master" branch build it should do a deploy to the Salesforce org. For a branch build it should just verify that the branch is deployable (and not actually do the deploy).

      I have an adequate solution already as part of the ant job:

      <condition property="sfdc.checkonly" value="false" else="true">
      <equals arg1="${bamboo.planRepository.branchName}" arg2="master"/>
      </condition>

      This is OK but it creates a dependency on bamboo, and on the name of the master branch ("master").

      It would be cleaner if I could just set "sfdc.checkonly" to true for Branch plans. My script will have fewer dependencies and be locally verifiable.

      Variables are already editable in Branch plans, so I think this would fit with current features.

              Unassigned Unassigned
              3e446321e143 Paul Backhouse
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: