add

Adds untracked files to the staging area of the local Git repository to be committed. This operation will execute the git add command in the specified temp directory's subfolder. 

Inputs

Input Name

Input Code

Required

Description

Input Name

Input Code

Required

Description

Instance Code

FDGIT_INP_INSTANCE_CODE

Yes

The FlexDeploy SCM instance where Git properties are configured.

Destination Subfolder

FDGIT_INP_DEST_SUBFOLDER

No

Directory containing the Git repository. When provided the git add command will be executed in this subfolder of the temp directory. If no subfolder is provided the operation will execute in the temp directory.

File List

FDGIT_INP_FILELIST

Yes

A space-separated list of files to be added. A period can be used to add all files.

Artifacts

This operation doesn't consume or produce any artifacts.

Endpoint Selection

This operation delegates endpoint selection to the workflow developer. The workflow editor will default the selection to "All", which selects all available endpoints associated to the target.

Selecting a specific resource will result in selection of endpoints associated to the target which have that resource defined.

Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.

Special Considerations

This operation will only add untracked files. Tracked files do not need to be added since they will be automatically picked up by the commit operation. If no subfolder is provided the operation will execute within the temp directory.

The following macros are not currently supported in the footer:
  • style