Class StepContextHelper
java.lang.Object
io.jenkins.plugins.projectenv.context.StepContextHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComputergetComputer(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) static EnvVarsgetEnvVars(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) static LaunchergetLauncher(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) static TaskListenergetTaskListener(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) static FilePathgetTemporaryDirectory(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) static FilePathgetWorkspace(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
-