public class ZipStep
extends org.jenkinsci.plugins.workflow.steps.Step
| Modifier and Type | Class and Description |
|---|---|
static class |
ZipStep.DescriptorImpl |
| Modifier and Type | Method and Description |
|---|---|
String |
getDir()
The relative path of the base directory to create the zip from.
|
String |
getGlob()
Ant style pattern
of files to include in the zip.
|
String |
getZipFile()
The name/path of the zip file to create.
|
boolean |
isArchive()
If the zip file should be archived as an artifact of the current build.
|
void |
setArchive(boolean archive)
If the zip file should be archived as an artifact of the current build.
|
void |
setDir(String dir)
The relative path of the base directory to create the zip from.
|
void |
setGlob(String glob)
Ant style pattern
of files to include in the zip.
|
org.jenkinsci.plugins.workflow.steps.StepExecution |
start(org.jenkinsci.plugins.workflow.steps.StepContext context) |
@DataBoundConstructor public ZipStep(String zipFile) throws hudson.model.Descriptor.FormException
hudson.model.Descriptor.FormExceptionpublic String getZipFile()
public String getDir()
@DataBoundSetter public void setDir(String dir)
dir - the dirpublic String getGlob()
@DataBoundSetter public void setGlob(String glob)
glob - the include patternpublic boolean isArchive()
@DataBoundSetter public void setArchive(boolean archive)
archive - if it should be archived or notCopyright © 2016–2020. All rights reserved.