Class TarStep
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.tar.TarStep
- All Implemented Interfaces:
- ExtensionPoint,- Describable<org.jenkinsci.plugins.workflow.steps.Step>
Creates a tar file.
- Author:
- Alexander Falkenstern <Alexander.Falkenstern@gmail.com>.
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanIf the tar file should be compressed with gzip.voidsetCompress(boolean compress) If the tar file should be compressed with gzip.org.jenkinsci.plugins.workflow.steps.StepExecutionstart(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class org.jenkinsci.plugins.pipeline.utility.steps.AbstractFileCompressStepgetDir, getExclude, getGlob, isArchive, isDefaultExcludes, isOverwrite, setArchive, setDefaultExcludes, setDir, setExclude, setGlob, setOverwriteMethods inherited from class org.jenkinsci.plugins.pipeline.utility.steps.AbstractFileStepgetFile, setFileMethods inherited from class org.jenkinsci.plugins.workflow.steps.StepgetDescriptor
- 
Constructor Details- 
TarStep- Throws:
- Descriptor.FormException
 
 
- 
- 
Method Details- 
isCompresspublic boolean isCompress()If the tar file should be compressed with gzip.- Returns:
- if tar should be compressed with gzip
 
- 
setCompress@DataBoundSetter public void setCompress(boolean compress) If the tar file should be compressed with gzip.- Parameters:
- compress- if it should be compressed with gz or not
 
- 
startpublic org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception - Specified by:
- startin class- org.jenkinsci.plugins.workflow.steps.Step
- Throws:
- Exception
 
 
-