Class ScriptStep

java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
org.jenkinsci.plugins.sshsteps.steps.BasicSSHStep
org.jenkinsci.plugins.sshsteps.steps.ScriptStep
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>, Serializable

public class ScriptStep extends BasicSSHStep
Step to execute a script (a file) on remote node.
Author:
Naresh Rayapati
See Also:
  • Constructor Details

    • ScriptStep

      @DataBoundConstructor public ScriptStep(String script)
  • Method Details

    • start

      public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
      Specified by:
      start in class org.jenkinsci.plugins.workflow.steps.Step
      Throws:
      Exception