Defining global 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.

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.

To access the Global variables page:

  1. From the top navigation bar select  > Build resources Global variables.
  2. Add, update, or delete the global variables, as desired:
    • 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 its deletion.

Note that if your new global 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.

最終更新日: 2021 年 12 月 15 日


Powered by Confluence and Scroll Viewport.