This is the documentation for Bamboo 5.8. View this page for the

Unknown macro: {spacejump}

of Bamboo, or visit the latest Bamboo documentation.

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 Bamboo 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 (追加)] をクリックして新しい変数を追加します。
    • 既存の行の更新は、テーブルのセル間を移動すると保存されます。
    • 変数を削除するには、バツ印のアイコンをクリックします。削除の確認を求めるメッセージが表示されます。

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


  • ラベルなし