Defining plan variables

このページの内容

お困りですか?

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

コミュニティに質問

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.

始める前に

  • Note that plan variables override global variables with the same name.

To define a plan variable:

  1. From the top navigation bar select Build All build plans, and select the plan you want to edit.
  2. Select Actions > Configure plan.
  3. Select the Variables tab.
  4. Add, update, or delete plan variables, as desired:
    • Select Add to add a new variable once you have entered the key and value for it.
    • Updates to existing rows will be saved as you move between cells in the table.
    • Select the cross icon to delete a variable. Bamboo will ask you to confirm deletion.

Variables tab in plan configuration

最終更新日 2021 年 8 月 17 日

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

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