Class UnTarStep
- 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.AbstractFileDecompressStep
-
- org.jenkinsci.plugins.pipeline.utility.steps.tar.UnTarStep
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public class UnTarStep extends AbstractFileDecompressStep
Unzips a tar file. Can also be used to test a tar file.- Author:
- Alexander Falkenstern <Alexander.Falkenstern@gmail.com>.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UnTarStep.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isKeepPermissions()
Extract file permissions.void
setKeepPermissions(boolean keepPermissions)
Extract file permissions.org.jenkinsci.plugins.workflow.steps.StepExecution
start(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
Methods inherited from class org.jenkinsci.plugins.pipeline.utility.steps.AbstractFileDecompressStep
getDir, getGlob, isQuiet, isTest, setDir, setGlob, setQuiet, setTest
-
Methods inherited from class org.jenkinsci.plugins.pipeline.utility.steps.AbstractFileStep
getFile, setFile
-
-
-
-
Constructor Detail
-
UnTarStep
@DataBoundConstructor public UnTarStep(String file) throws Descriptor.FormException
- Throws:
Descriptor.FormException
-
-
Method Detail
-
isKeepPermissions
public boolean isKeepPermissions()
Extract file permissions.- Returns:
- if file permissions should be extracted
-
setKeepPermissions
@DataBoundSetter public void setKeepPermissions(boolean keepPermissions)
Extract file permissions.- Parameters:
keepPermissions
- if file permissions should be extracted
-
-