Class PwdStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
org.jenkinsci.plugins.workflow.steps.PwdStep
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public class PwdStep
extends org.jenkinsci.plugins.workflow.steps.Step
Returns the working directory path.
Used like:
node { def x = pwd() // where is my workspace? }
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static class
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Constructor Details
-
PwdStep
@DataBoundConstructor public PwdStep()
-
-
Method Details
-
isTmp
public boolean isTmp() -
setTmp
@DataBoundSetter public void setTmp(boolean tmp) -
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
-