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. 必要に応じて、グローバル変数を追加、更新、または削除します。

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

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