public class StepContextHelper extends Object
| Constructor and Description |
|---|
StepContextHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Computer |
getComputer(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) |
public static Computer getComputer(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) throws Exception
Exceptionpublic static Launcher getLauncher(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) throws Exception
Exceptionpublic static TaskListener getTaskListener(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) throws Exception
Exceptionpublic static FilePath getWorkspace(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) throws Exception
ExceptionCopyright © 2016–2022. All rights reserved.