Copies file(s) and folder(s) selected in the partialBuild operation to a specified target folder, runs property replacement on them, sets owner, group, permissions, and executes them as desired.
The options project file attributes can be defaulted for the project using project properties. Then at populate or evaluate time, the defaults are used to fill the project file attributes. Those attributes are used at deploy time. The attributes are stored with the object, not the build, so it is possible to change the attributes and then deploy again without another build in between.
Info |
---|
This operation can only be used in partial deployment projects of type file. |
Environment/Instance Properties
Property Name | Property Code | Required | Description |
---|
Project Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Root Target Folder | FDFILE_ROOT_TARGET_FOLDER | No | The path in which to create and update file and folder objects. If left blank, the FD_TEMP_DIR will be used. Unlike the rest of the properties on this operation, this one is not a default. It's Its value is pulled at deploy time, not populate and evaluate time. |
Use Source Path Default | FDFILE_USE_SOURCE_PATH_DEFAULT | No | When populating or evaluating Files, default the Use Source Path option to this. Defaults to true(checked ). |
Ignore Failure Default | FDFILE_IGNORE_FAILURE_DEFAULT | No | When populating or evaluating project files, default the Ignore Failure value to this. Defaults to false (unchecked ). |
Owner:Group File Default | FDFILE_OWNER_GROUP_FILE_DEFAULT | No | When populating or evaluating Files, default the Owner:Group value to this. |
Owner:Group Folder Default | FDFILE_OWNER_GROUP_FOLDER_DEFAULT | No | When populating or evaluating Folders, default the Owner:Group value to this. |
Permissions File Default | FDFILE_PERMISSION_FILE_DEFAULT | No | When populating or evaluating Files, default the Permissions to this. |
Permissions Folder Default | FDFILE_PERMISSION_FOLDER_DEFAULT | No | When populating or evaluating Folders, default the Permissions to this. |
Property Replacement Default | FDFILE_PROPERTY_REPLACEMENT_DEFAULT | No | When populating or evaluating Files, default the Property Replacement option to this. Defaults to true(checked ). |
Execute Default | FDFILE_EXECUTE_DEFAULT | No | When populating or evaluating Files, default the execute option to this. |
...
Defaults to false (unchecked ). |
Inputs
Input Name | Input Code | Required | Description |
---|
FDFILE_INP_FILE_FILTER
No
See the Filter Examples.
FDFILE_INP_FILE_FILTER_EXCLUDED
No
See the Filter Examples.
FDFILE_INP_SOURCE_PATH
Yes
The source directory to copy file(s) from. The FD_TEMP_DIR
and FD_ARTIFACTS_DIR
variables work great in this field.
FDFILE_INP_TARGET_PATH
Yes
The target directory where file(s) are to be transferred. The FD_TEMP_DIR
and FD_ARTIFACTS_DIR
variables work great in this field.
FDFILE_INP_CLEAN_DIRECTORY
No
Flag to indicate if the target path should be cleaned before copy.
Outputs
Output Name | Required | Description |
---|
...
Artifacts
This operation delegates the consumes/produces artifacts decision to the workflow developer. Check Consumes Artifacts on the workflow step editor if this operation requires artifacts to be delivered prior to execution of the script. Check Produces Artifacts on the workflow step editor if this operation creates artifacts. The artifacts folder is available via the FD_ARTIFACTS_DIR
variable.
consumes a zipped artifact from the artifacts repository.
Endpoint Selection
This operation delegates endpoint selection to the workflow developer. The workflow editor will default the selection to "All", which selects will select all available endpoints associated to the environment instance. Selecting a specific resource will result in selection of endpoints associated to the environment instance which have that resource defined. Environment/Instance.
Endpoint Execution
This operation delegates endpoint execution to the workflow developer. The workflow editor will default to "Any", which will execute on any one of the selected endpoints , which will be randomly picked from selected endpoints or a specific endpoint where previous step may have executed. Changing this value to "All" to will result in execution on all selected endpoints.and will be random in the determination of which one.
Partial Deployment File Object Type Details
Include Page | ||||
---|---|---|---|---|
|