System Tools and Scripting Plugins → FileUtils Plugin → Create Zip Archive Step
This step creates a Zip archive.
Required properties:
Property Name | Description |
---|---|
Zip Archive Name | Name of the new Zip archive |
Base Directory | The starting directory where files for the archive reside |
Include Files |
Specify a new-line-separated list of file/directory patterns to include. Pattern Matching Rules: * matches zero or more characters ? matches one character ** matches zero or more directories Examples: *.java - matches .java, x.java, and FooBar.java ?.java - matches x.java, A.java **/*.txt - matches all txt files recursively **/CVS/* - matches all files in CVS directories anywhere in the directory tree org/apache/jakarta/** - matches all files in the org/apache/jakarta directory tree org/apache/**/CVS/* - matches all files in CVS directories anywhere in the in the directory tree under org/apache/ **/test/** - matches all files that have a test element in their path, including test as a filename |
Optional properties:
Property Name | Description |
---|---|
Exclude Files | Specify a new-line-separated list of file/directory patterns to exclude. Pattern matching rules are the same as those listed in Include Files. |
Update Existing | Select this to update or overwrite the destination file if it already exists. |
Follow Symlinks | Select this to follow symbolic links when including files. |
Case Sensitive | Select this for matching to be case sensitive. |
No Match |
Select the behavior when no files match, either to skip or create an empty Zip archive. |
Copyright © 2013–2017 Serena Software, Inc., a Micro Focus company. All rights reserved.