Documentation for Bamboo 4.3.x. Documentation for other versions of Bamboo is available too.

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 Running a plan build manually.

始める前に

  • プラン変数は、同じ名前のグローバル変数をオーバーライドします。

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

  1. [Dashboard (ダッシュボード)] をクリックしてから、[All Plans (すべてのプラン)] タブ、リスト内のプランの名前を順にクリックして、編集するプランに移動します。
  2. [アクション] > [プランを構成] を選択します。
  3. [Variables (変数)] タブをクリックします。
  4. 必要に応じて、プラン変数を追加、更新、または削除します。
    • キーと値を入力したら、[Add (追加)] をクリックして新しい変数を追加します。
    • 既存の行の更新は、テーブルのセル間を移動すると保存されます。
    • Click the trash can to delete a variable.

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

  • ラベルなし