zipFiles()

Compresses a single file or files into a zip file on the agent machine. Enter the full path of the file or files to be compressed. Then enter the full path and filename of the zip file to be created or updated. If the target zip already exists, optionally check a box to overwrite it.

Operating systems supported: Windows, OS X, Linux

Example

zipFiles("c:\logs\data*.log", "#log_archive_dir#\archive.zip", true, "All Operating Systems", "Halt on Fail")