Capture to Directory
Use the Capture to Directory plugin to capture built artifacts to a directory.
To configure the Capture to Directory step:
Add the Capture to Capture to Directory step to a chain, as described in Create chains.
Enter the plugin configuration details:
Field Description Title Enter a name for the plugin step or accept the default name. Source relative directory Enter the path to the source directory where the build artifacts are located. The path is relative to the root of the stream that owns this chain. Destination directory
Enter the absolute path to the target directory where to capture the built artifacts.
You can use built-in variables. For details, see Use variables in chains.
Include patterns (Optional) To publish only specific files, enter one or more Ant patterns, one pattern per line. To publish all files, leave this field empty. Exclude patterns (Optional) To exclude specific files from being published, enter one or more Ant patterns, one pattern per line. To publish all files, leave this field empty. Flatten files (Optional) Select this option to publish all the files into one flat directory. When no files are captured, mark the step as (Optional) From the list, select the state to assign to the step if no files are captured: Success, Failed, or Unstable.