Class StepContextHelper

java.lang.Object
io.jenkins.plugins.projectenv.context.StepContextHelper

public class StepContextHelper extends Object
  • 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