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

始める前に

プラン変数を定義するには、次の手順に従います。

  1. Navigate to the configuration for the desired plan, as described on Editing a Plan.
  2. [Variables (変数)] タブをクリックします。
  3. 必要に応じて、プラン変数を追加、更新、または削除します。

スクリーンショット: プラン変数の追加

注意

関連トピック

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