Page tree
Skip to end of metadata
Go to start of metadata

Copy

Name

A friendly name for this action (will be displayed in the actions workflow area).

Enabled

Determines if this action will be run within the relevant stage.

Source Directory

Provide a directory you want to use as the root directory. You don't need to specify the exact directory the files live in. Using file patterns below will allow you to specify sub-directories within the root.

File Names / Patterns

Each file/pattern must be entered on a new line. You can specify an exact file with its path or you can use pattern matching. 

You can exclude files by prefixing the file name or pattern with a dash. e.g -*.ignore. Exclude patterns always take precedence over include patterns

More information about pattern wild cards can be found on the Ant Pattern Usage page.

Destination Directory

All files found will be placed in this directory with their directory structure preserved.

Overwrite existing files

Specify whether files should be overridden if they already exist.

Overwrite read-only files

Visible only if the 'Overwrite existing files' checkbox is ticked. Tick to only overwrite read-only files.


Options

Log the result of each file

Write the file name of each file copied to the Build Log.

Fail if no files are copied

The action is marked as failed if no files are copied. This will cause the build to fail.

Recreate relative paths in destination folder

Tick to recreate relative paths in the destination folder.

Ignore warnings

If this is ticked, any warnings logged will not mark the action with a warning status.


  • No labels