Class StepContextHelper
- java.lang.Object
-
- io.jenkins.plugins.projectenv.context.StepContextHelper
-
public class StepContextHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description StepContextHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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)
-
-
-
Method Detail
-
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
-
-