Class ZipStep
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.Step
-
- org.jenkinsci.plugins.pipeline.utility.steps.AbstractFileStep
-
- org.jenkinsci.plugins.pipeline.utility.steps.AbstractFileCompressStep
-
- org.jenkinsci.plugins.pipeline.utility.steps.zip.ZipStep
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public class ZipStep extends AbstractFileCompressStep
Creates a zip file.- Author:
- Robert Sandell <rsandell@cloudbees.com>.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ZipStep.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getZipFile()
The name/path of the zip file to create.org.jenkinsci.plugins.workflow.steps.StepExecution
start(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
Methods inherited from class org.jenkinsci.plugins.pipeline.utility.steps.AbstractFileCompressStep
getDir, getExclude, getGlob, isArchive, isDefaultExcludes, isOverwrite, setArchive, setDefaultExcludes, setDir, setExclude, setGlob, setOverwrite
-
Methods inherited from class org.jenkinsci.plugins.pipeline.utility.steps.AbstractFileStep
getFile, setFile
-
-
-
-
Constructor Detail
-
ZipStep
@DataBoundConstructor public ZipStep(String zipFile) throws Descriptor.FormException
- Throws:
Descriptor.FormException
-
-
Method Detail
-
getZipFile
public String getZipFile()
The name/path of the zip file to create.- Returns:
- the path
-
-