Symbolic variables
Symbolic variables are special user-defined variables in one of the following formats:
- ${variable}
- ${p:variable}
- #variable#
You can use symbolic variables to dynamically provide input for either Jenkins projects or UrbanCode Deploy/HCL Launch component processes.
Types of symbolic variables
Type | Applicable to | Description |
---|---|---|
Parameter-based variables | Jenkins | These variables are in ${variable} format. BMC AMI DevOps replaces these variables with the default or user-defined value of the corresponding parameter. To use parameter-based variables, you must select the This project is parameterized check box in the General tab when configuring the project. |
Property-based variables | UrbanCode Deploy and HCL Launch | These variables are in ${p:variable} format. |
Field-based variables | Jenkins, UrbanCode Deploy, and HCL Launch | These variables are in ${variable} format. BMC AMI DevOps replaces these variables with the value of the corresponding fields. |
Plug-in variables file-based variables | Jenkins, UrbanCode Deploy, and HCL Launch | These variables are in #variable# format. BMC AMI DevOps replaces these variables with the value of the corresponding variable in the plug-in variables file. |
Related topic