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.

Global variables are one type of variable that is available to you. Global variables are defined across your entire Bamboo instance, and have the same value for every plan that is built by Bamboo. If you want to define a variable for a specific plan rather than across all plans, define a plan variable as described in Defining plan variables.

Global variables can be accessed by using ${bamboo.globalVarName}. Global variables can also be overridden at runtime when running a manual build. For more information, see Running a plan build manually.

グローバル変数ページにアクセスするには、次の手順に従います。

  1. Click the  icon and select Global Variables.
  2. 必要に応じて、グローバル変数を追加、更新、または削除します。
    • キーと値を入力したら、[Add (追加)] をクリックして新しい変数を追加します。
    • 既存の行の更新は、テーブルのセル間を移動すると保存されます。
    • 変数を削除するには、バツ印のアイコンをクリックします。削除の確認を求めるメッセージが表示されます。

スクリーンショット: グローバル変数

新しいグローバル変数に「password」という単語が含まれている場合、値フィールドは自動的に暗号化されることに注意してください。変数を「password」という単語を含むように変更すると、値フィールドは表示可能なテキストからアスタリスク文字列に変わります。