Defining project variables

このページの内容

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プランを設定する際には、ビルド プロセスで使用する変数を指定するのが望ましい場合があります。変数の使用方法の詳細については、「Bamboo 変数」を参照してください。

Project variables are defined for a specific project, and have the same value for every plan that belongs to the project. If you want to define a variable for a specific plan, define a plan variable as described in Defining plan variables.

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


To access the plan variables page:

  1. プロジェクトを選択します。
  2. [プロジェクト設定] をクリックします。
  3. In the left-hand side column, click Variables.
  4. Add, update or delete the plan variables, as desired:
    • キーと値を入力したら、[Add (追加)] をクリックして新しい変数を追加します。
    • 既存の行の更新は、テーブルのセル間を移動すると保存されます。
    • 変数を削除するには、バツ印のアイコンをクリックします。削除の確認を求めるメッセージが表示されます。

Screenshot: Project variables



If your new plan variable contains the word 'password' then the value field will be automatically encrypted. If you change a variable to include the word 'password', then the value field will change from viewable text to an asterisk string.

最終更新日 2020 年 11 月 23 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.