Copies file(s) and folder(s) from artifacts folder (FD_ARTIFACTS_DIR
) recursively to the given target folder. The subfolders are preserved.
The plugin provides the ability to transfer files using filters. The filters allow the user to enter multiple wildcard selection filters to allow very flexible lists of files to copy from the artifacts folder.
In addition, the plugin provides the option to clean up the target before copying the files from artifacts folder.
Inputs
Input Name | Input Code | Required | Description | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Source Subfolder |
| No | The artifacts sub-folder to copy file(s) from. This is useful if you only want to copy artifacts files from specific folder. If not specified, all files in artifacts folder are eligible for copy. | ||||||||||||||||||||||||||
File Filter |
| No | Wildcard compatible expression to select file(s). You can enter multiple filter expressions separated by ##. Leave empty to select all files. The ## performs an OR expression. This will filter Files or Directory names but not the path. (e.g. for "/this/is/a/test/path" if you use "path" it will filter it, if you use "/this/is/a/test/path" it will not) Here are some examples and expected behaviors:
| ||||||||||||||||||||||||||
File Exclude Filter |
| No | Wildcard compatible expression to exclude file(s) OR folders. You can enter multiple filter expressions separated by ##. Leave empty to select all files. The ## performs an OR expression. This will filter Files or Directory names but not the path. (e.g. for "/this/is/a/test/path" if you use "path" it will filter it, if you use "/this/is/a/test/path" it will not) Here are some examples and expected behaviors:
Combining include and exclude filters
| ||||||||||||||||||||||||||
Target Path |
| Yes | The target directory where file(s) are to be transferred. The | ||||||||||||||||||||||||||
Clean Directory |
| No | Flag to indicate if the target path should be cleaned before copy. |
Artifacts
This operation consumes artifacts from artifact repository. This is not exposed to workflow developer.
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 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.