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>
Unzips a tar file.
Can also be used to test a tar file.
- Author:
- Alexander Falkenstern <Alexander.Falkenstern@gmail.com>.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
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
Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Constructor Details
-
UnTarStep
- Throws:
Descriptor.FormException
-
-
Method Details
-
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
-
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception - Specified by:
start
in classorg.jenkinsci.plugins.workflow.steps.Step
- Throws:
Exception
-