Class SSHStepExecution<T>

    • Method Detail

      • run

        protected abstract T run()
                          throws Exception
        Meat of the execution. When this method returns, a step execution is over.
        Throws:
        Exception
      • getChannel

        protected hudson.remoting.VirtualChannel getChannel()
      • start

        public final boolean start()
        Specified by:
        start in class org.jenkinsci.plugins.workflow.steps.StepExecution
      • stop

        public void stop​(Throwable cause)
                  throws Exception
        If the computation is going synchronously, try to cancel that.
        Overrides:
        stop in class org.jenkinsci.plugins.workflow.steps.StepExecution
        Throws:
        Exception
      • onResume

        public void onResume()
        Overrides:
        onResume in class org.jenkinsci.plugins.workflow.steps.StepExecution
      • getStatus

        @Nonnull
        public String getStatus()
        Overrides:
        getStatus in class org.jenkinsci.plugins.workflow.steps.StepExecution
      • getLauncher

        public Launcher getLauncher()