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 Using Global or Build-specific 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. You can define as many global variables as you want.
Defining a Global Variable
To access the Global Variables page:
- Click the 'Administration' link in the top navigation bar.
- In the left navigation column, within the 'Build Resources' section, click 'Global Variables'.
The Global Variables page opens, which displays a list of variables that have been configured in Bamboo, with an empty field at the bottom of each column for adding a new variable.
To add a new global variable:
- Open the Global Variables page, as described above.
- In the 'Key' field, type the key that you will use to identify the variable.
- In the 'Value' field, type the value of the variable.
- Click 'Save' to save these changes or 'Cancel' to clear these fields.
To edit an existing global variable:
- Open the Global Variables page, as described above.
- Click 'Edit' on the line containing the variable you wish to edit and the corresponding 'Key' and 'Value' fields become editable.
- Modify the 'Key' and 'Value' fields as required.
- Click 'Save' to save these changes or 'Cancel' to revert these fields back to their original values.
To delete an existing global variable:
- Open the Global Variables page, as described above.
- Click 'Delete' on the line containing the variable you wish to delete.
- In the confirmation message, click 'OK' to confirm the deletion.

Screenshot above: Global Variables
注意
Using Global or Build-specific Variables