Class CommandStep

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.CommandStep
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>, Serializable

public class CommandStep extends BasicSSHStep
Step to execute a command on remote node.
Author:
Naresh Rayapati
See Also:
  • Constructor Details

    • CommandStep

      @DataBoundConstructor public CommandStep(String command)
  • 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