Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »


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.

FlexDeploy will use a different Working directory for each workflow execution. Syntax - <Endpoint directory>/<Project Id>/<Workflow Execution Id>

This folder structure is kept for 3 days. Older folders are automatically purged.

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.

Custom shell / script (Groovy, WLST) plugins can also generate temporary files here.

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_SOURCE1_REVISION

Only available for SVN-based projects.

Represents SVN revision number corresponding to Project Version for Source 1.

FDBLD_SVN_SOURCE1_INSTANCE

Only available for SVN-based projects.

Represents SVN Instance Code for Source 1.

FDBLD_SVN_SOURCE1_PATH

Only available for SVN-based projects.

Represents SVN source path used for build for Source 1.

FDBLD_SVN_SOURCE1_TAG_PATH

Only available for SVN-based projects.

Represents SVN tag path for project version for Source 1. It may have been used for tagging source path, if workflow includes a step for tag.

FDBLD_SVN_SOURCE1_CHECKOUT_FOLDER

Only available for SVN-based projects.

Represents sub-folder where Source 1 will be exported or checked out.

FDBLD_SVN_SOURCE(n)_REVISION

Only available for SVN based projects.

Represents SVN revision number corresponding to Project Version for Source (n). Useful for projects with more than one source location.

FDBLD_SVN_SOURCE(n)_INSTANCE

Only available for SVN based projects.

Represents SVN Instance Code for Source (n). Useful for projects with more than one source location.

FDBLD_SVN_SOURCE(n)_PATH

Only available for SVN-based projects.

Represents SVN source path used for build for Source (n). Useful for projects with more than one source location.

FDBLD_SVN_SOURCE(n)_TAG_PATH

Only available for SVN-based projects.

Represents SVN tag path for project version for Source (n). Useful for projects with more than one source location. It may have been used for tagging source path, if workflow includes a step for tag.

FDBLD_SVN_SOURCE(n)_CHECKOUT_FOLDER

Only available for SVN-based projects.

Represents sub-folder where Source (n) will be exported or checked out.

FDBLD_GIT_SOURCE1_REVISION

Only available for GIT-based projects.

Represents GIT Repository Revision (SHA-1) corresponding to Project Version for Source 1.

FDBLD_GIT_SOURCE1_SECONDARYREVISION

Only available for GIT-based projects with sparse checkout folders.

Represents comma separated revision (SHA-1) for sparse checkout folders for source 1.

FDBLD_GIT_SOURCE1_INSTANCE

Only available for GIT-based projects.

Represents GIT Instance Code for Source 1.

FDBLD_GIT_SOURCE1_BRANCH

Only available for GIT based projects.

Represents GIT branch for build for Source 1.

FDBLD_GIT_SOURCE1_TAG

Only available for GIT-based projects.

Represents GIT tag for project version for Source 1. It may have been used for tagging source path, if workflow includes a step for tag.

FDBLD_GIT_SOURCE1_SPARSE_CHECKOUT_FOLDERS

Only available for GIT-based projects.

Represents sparse checkout folders specified for Source 1.

FDBLD_GIT_SOURCE1_CHECKOUT_FOLDER

Only available for GIT-based projects.

Represents sub-folder where Source 1 will be cloned.

FDBLD_GIT_SOURCE(n)_REVISION

Only available for GIT-based projects.

Represents GIT Repository Revision (SHA-1) corresponding to Project Version for Source (n).

FDBLD_GIT_SOURCE(n)_SECONDARYREVISION

Only available for GIT-based projects with sparse checkout folders.

Represents comma separated revision (SHA-1) for sparse checkout folders for source (n).

FDBLD_GIT_SOURCE(n)_INSTANCE

Only available for GIT-based projects.

Represents GIT Instance Code for Source (n).

FDBLD_GIT_SOURCE(n)_BRANCH

Only available for GIT-based projects.

Represents GIT branch for build for Source (n).

FDBLD_GIT_SOURCE(n)_TAG

Only available for GIT-based projects.

Represents GIT tag for project version for Source (n). It may have been used for tagging source path, if workflow includes a step for tag.

FDBLD_GIT_SOURCE(n)_SPARSE_CHECKOUT_FOLDERS

Only available for GIT-based projects.

Represents sparse checkout folders specified for Source (n).

FDBLD_GIT_SOURCE(n)_CHECKOUT_FOLDER

Only available for GIT-based projects.

Represents sub-folder where Source (n) will be cloned.

  • No labels