Class StepContextHelper


  • public class StepContextHelper
    extends Object
    • Constructor Detail

      • StepContextHelper

        public StepContextHelper()
    • 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
      • getTemporaryDirectory

        public static FilePath getTemporaryDirectory​(org.jenkinsci.plugins.workflow.steps.StepContext stepContext)
                                              throws Exception
        Throws:
        Exception