System Tools and Scripting Plugins → FileUtils Plugin → Create Zip Archive Step
This step creates a Zip archive.
|Zip Archive Name||Name of the new Zip archive|
|Base Directory||The starting directory where files for the archive reside|
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
*.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
|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.|
Select the behavior when no files match, either to skip or create an empty Zip archive.
Copyright © 2013–2019 Micro Focus or one of its affiliates. All rights reserved.