Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Environment Instance property variables Target Properties are available in Workflow Editor (UI), Shell Plugins, and Script based plugins.

Variable Name

Description

<Instance <Target Group Code>_<Property Name>

Value of property defined on current environment and a particular instanceTarget Group.

A Workflow is executed for specific Environment and Instance, so this value is for executing Environment Instancea Environment. The value comes from the target defined by the currently executing Environment and the given Target Group.

If Project has overridden value for specific Property, overridden value is returned.

...

Note
Properties on build/deploy target instance do not need to be instance-qualified.

Unix Shell

The below snippet is an example of to get the FDSVN_URL property for the SAMPLEAPPS instance.

...

  • myinstance='SAMPLEAPPS'
  • myproperty='FDSVN_URL'
  • mydynamicvar=${myinstance}_${myproperty}
    • SAMPLEAPPS_FDSVN_URL
  • echo ${mydynamicvar}

Groovy

Code Block
languagegroovy
titleFind value for specific instance
getProperty(propertyName)

...