public class Archiver extends Object
| Constructor and Description |
|---|
Archiver() |
| Modifier and Type | Method and Description |
|---|---|
static hudson.FilePath |
Archive(hudson.FilePath workspace,
String[] paths,
String[] excludePaths,
String prefix,
PrintStream logger)
Creates zips of the workspace using an array of path filters (in Ant GLOB format)
to determine which files to include in the zip.
|
public static hudson.FilePath Archive(hudson.FilePath workspace,
String[] paths,
String[] excludePaths,
String prefix,
PrintStream logger)
throws IOException,
InterruptedException
workspace - Workspace for the job.paths - Paths in the ANT Glob format to include.excludePaths - Paths in the ANT Glob format to exclude.prefix - Prefix of the zip file to create.IOExceptionInterruptedExceptionCopyright © 2004-2014. All Rights Reserved.