Following variables are available in Workflow Editor (UI), Shell Plugins and script-based plugins.
Variable Name | Description |
---|---|
FD_WORKING_DIR | Working directory for Plugin execution on the Endpoint. This folder contains sub-folders like temp, internal, artifacts etc. |
FD_ARTIFACTS_DIR | Folder for build artifacts. Build workflow will generate artifacts in this folder. And Deploy workflow will automatically have access to the same artifacts. Artifacts are associated with specific Project Version. |
FD_TEMP_DIR | Folder for temporary files. FlexDeploy will generate temporary files in this folder. |
FD_ENVIRONMENT_CODE | Environment code |
FD_INSTANCE_CODE | Instance code |
FD_APPLICATION_NAME | Application name for Project being executed. |
FD_PROJECT_NAME | Project being executed. |
FD_PROJECT_VERSION | Project version being executed. |
FDBLD_STREAM_NAME | Name of the stream used to build project version. For example, trunk. |
FDBLD_STREAM_ATTRIBUTE1 | Attribute1 value of stream used to build project version. |
FDBLD_STREAM_ATTRIBUTE2 | Attribute2 value of stream used to build project version. |
FDBLD_STREAM_ATTRIBUTE3 | Attribute3 value of stream used to build project version. |
FDBLD_SVN_SOURCE(n)_REVISION | Only available for SVN based projects. |
FDBLD_SVN_SOURCE(n)_INSTANCE | Only available for SVN based projects. |
FDBLD_SVN_SOURCE(n)_PATH | Only available for SVN-based projects. |
FDBLD_SVN_SOURCE(n)_TAG_PATH | Only available for SVN-based projects. |
FDBLD_SVN_SOURCE(n)_CHECKOUT_FOLDER | Only available for SVN-based projects. |
FDBLD_GIT_SOURCE(n)_REVISION | Only available for GIT-based projects. |
FDBLD_GIT_SOURCE(n)_SECONDARYREVISION | Only available for GIT-based projects with sparse checkout folders. |
FDBLD_GIT_SOURCE(n)_INSTANCE | Only available for GIT-based projects. |
FDBLD_GIT_SOURCE(n)_BRANCH | Only available for GIT-based projects. |
FDBLD_GIT_SOURCE(n)_TAG | Only available for GIT-based projects. |
FDBLD_GIT_SOURCE(n)_SPARSE_CHECKOUT_FOLDERS | Only available for GIT-based projects. |
FDBLD_GIT_SOURCE(n)_CHECKOUT_FOLDER | Only available for GIT-based projects. |
FDBLD_CVS_SOURCE(n)_REVISION | Only available for CVS-based projects. Represents CVS revision number corresponding to Project Version for Source (n), with n starting at 1. |
FDBLD_CVS_SOURCE(n)_INSTANCE | Only available for CVS-based projects. Represents CVS Instance Code for Source (n), with n starting at 1. |
FDBLD_CVS_SOURCE(n)_BRANCH | Only available for CVS-based projects. Represents CVS branch for build for Source (n), with n starting at 1. |
FDBLD_CVS_SOURCE(n)_TAG | Only available for CVS-based projects. Represents CVS tag for project version for Source (n), with n starting at 1. It may have been used for tagging source path, if workflow includes a step for tag. |
FDBLD_CVS_SOURCE(n)_MODULES | Only available for CVS-based projects. Comma separated list of CVS modules to be checked out from the CVS Repository. Root modules or subdirectories(module/subdir) can be specified. |
FDBLD_CVS_SOURCE(n)_CHECKOUT_FOLDER | Only available for CVS-based projects. Represents checkout folder specified for Source (n), with n starting at 1. |
FDBLD_TFVC_SOURCE(n)_REVISION | Only available for TFVC-based projects. Represents TFVC revision number corresponding to Project Version for Source (n), with n starting at 1. |
FDBLD_TFVC_SOURCE(n)_INSTANCE | Only available for TFVC-based projects. Represents TFVC Instance Code for Source (n), with n starting at 1. |
FDBLD_TFVC_SOURCE(n)_BRANCH | Only available for TFVC-based projects. Represents TFVC branch for build for Source (n), with n starting at 1. |
FDBLD_TFVC_SOURCE(n)_LABEL | Only available for TFVC-based projects. Represents TFVC label for project version for Source(n), with n starting at 1. A TFVC label is the equivalent of a tag in similar SCM tools such as SVN and GIT. |
FDBLD_TFVC_SOURCE(n)_FOLDER | Only available for TFVC-based projects. Represents TFVC source folder path for building a project for Source(n), with n starting at 1. |
FDBLD_TFVC_SOURCE(n)_GET_FOLDER | Only available for TFVC-based projects. Represents checkout folder(get) for TFVC for Source(n), with n starting at 1. |