Capture to Directory
Use the Capture to Directory plugin to capture built artifacts to a directory.
Configuration
When you add the Capture to Directory plugin step to a chain, specify the following configuration details:
Field | Description |
---|---|
Title | Enter a name for the plugin step. |
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. |
See also: