Class ToolStep

  • All Implemented Interfaces:
    ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

    public final class ToolStep
    extends org.jenkinsci.plugins.workflow.steps.Step
    Binds a ToolInstallation to a variable.
    • Constructor Detail

      • ToolStep

        @DataBoundConstructor
        public ToolStep​(String name)
    • Method Detail

      • getName

        public String getName()
      • getType

        @CheckForNull
        public String getType()
      • setType

        @DataBoundSetter
        public void setType​(String type)
      • 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