This documentation relates to an earlier version of Bamboo.
View

Unknown macro: {spacejump}

or visit the current documentation home.

When configuring a plan, you may want to specify variables to be used in the build process. For details on how variables are used, see Using Global, Plan or Build-specific Variables.

Plan variables are one type of variable that is available to you. A Plan variable is defined for one specific Plan, and has the same value every time that Plan is built. If you want to define a variable across all Plans rather than a single Plan, define a global variable as described in Defining Global Variables.

Plan variables can be accessed by using {$bamboo.varName}. Plan variables can also be overridden at runtime when running a manual build. For more information, see Triggering a Plan Build Manually.

On this page:

Defining a Plan Variable

始める前に

  • Note, Plan variables override global variables with the same name.

To define a Plan Variable,

  1. Navigate to the configuration for the desired Plan, as described on Editing a Plan.
  2. Click the 'Variables' tab.
  3. Add, update or delete the Plan variables, as desired:
    • Click 'Add' to add new variables once you have entered the key and value for it.
    • 既存の行の更新は、テーブルのセル間を移動すると保存されます。
    • Click the trash can to delete a variable.

Screenshot above: Plan Variables

注意

関連トピック

Defining Global Variables
Using Global, Plan or Build-specific Variables
Triggering a Plan Build Manually

  • ラベルなし