Environment Instance property variables are available in Workflow Editor (UI), Shell Plugins, and Script based plugins.
...
For example, if you are looking for FDSVN_URL of SAMPLEAPPS instance.
Unix Shell
Use ${variable_name} to find value for specific instance.
- myinstance='SAMPLEAPPS'
- myproperty='FDSVN_URL'
- mydynamicvar=${myinstance}_${myproperty}
- SAMPLEAPPS_FDSVN_URL
- echo ${mydynamicvar}
Groovy
Code Block | ||||
---|---|---|---|---|
| ||||
getProperty(propertyName) |
...