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, Plan or Build-specific 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 ${ | On this page: |
Defining a Plan Variable
Before you begin:
- Note that plan variables override global variables with the same name.
To define a plan variable:
- Navigate to the configuration for the desired plan, as described on Editing a Plan.
- Click the Variables tab.
- Add, update or delete plan variables, as desired:
- Click 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.
- Click the trash can to delete a variable.
Screenshot: Adding a plan variable
Notes
Related Topics
Defining Global Variables
Using Global, Plan or Build-specific Variables
Triggering a Plan Build Manually