Share this page

# Capture to Directory

Use the Capture to Directory plugin to capture built artifacts to a directory.

To configure the Capture to Directory step:

1. Add the Capture to Capture to Directory step to a chain, as described in Create chains.

2. 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.

Back to top

See also:

- Use plugins
- Set chain options
- View chain runs

https://admhelp.microfocus.com PulseUno 8942
Tips to improve your search results... PulseUno Help Center PulseUno Help 24.2 - 25.2 All View Local Help Center View Online Help Center Version: