Class StepContextHelper
java.lang.Object
io.jenkins.plugins.projectenv.context.StepContextHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Computer
getComputer
(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) static EnvVars
getEnvVars
(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) static Launcher
getLauncher
(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) static TaskListener
getTaskListener
(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) static FilePath
getTemporaryDirectory
(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) static FilePath
getWorkspace
(org.jenkinsci.plugins.workflow.steps.StepContext stepContext)
-
Constructor Details
-
StepContextHelper
public StepContextHelper()
-
-
Method Details
-
getComputer
public static Computer getComputer(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) throws Exception - Throws:
Exception
-
getLauncher
public static Launcher getLauncher(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) throws Exception - Throws:
Exception
-
getEnvVars
public static EnvVars getEnvVars(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) throws Exception - Throws:
Exception
-
getTaskListener
public static TaskListener getTaskListener(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) throws Exception - Throws:
Exception
-
getWorkspace
public static FilePath getWorkspace(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) throws Exception - Throws:
Exception
-
getTemporaryDirectory
public static FilePath getTemporaryDirectory(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) throws Exception - Throws:
Exception
-