Class SSHService

java.lang.Object
org.jenkinsci.plugins.sshsteps.SSHService
All Implemented Interfaces:
groovy.lang.GroovyObject, Serializable

@Slf4j public class SSHService extends Object implements Serializable, groovy.lang.GroovyObject
See Also:
  • Constructor Details

    • SSHService

      public SSHService(Map remote, boolean failOnError, boolean dryRun, PrintStream logger)
  • Method Details

    • getMetaClass

      public groovy.lang.MetaClass getMetaClass()
      Specified by:
      getMetaClass in interface groovy.lang.GroovyObject
    • setMetaClass

      public void setMetaClass(groovy.lang.MetaClass mc)
      Specified by:
      setMetaClass in interface groovy.lang.GroovyObject
    • invokeMethod

      public Object invokeMethod(String method, Object arguments)
      Specified by:
      invokeMethod in interface groovy.lang.GroovyObject
    • getProperty

      public Object getProperty(String property)
      Specified by:
      getProperty in interface groovy.lang.GroovyObject
    • setProperty

      public void setProperty(String property, Object value)
      Specified by:
      setProperty in interface groovy.lang.GroovyObject
    • create

      public static SSHService create(Map remote, boolean failOnError, boolean dryRun, PrintStream logger)
    • executeCommand

      public Object executeCommand(String command, boolean sudo)
    • executeScriptFromFile

      public Object executeScriptFromFile(String pathname)
    • put

      public Object put(String from, String into, String filterBy, String filterRegex)
    • get

      public Object get(String from, String into, String filterBy, String filterRegex)
    • remove

      public Object remove(String path)