Package org.jenkinsci.plugins.sshsteps
Class SSHService
java.lang.Object
org.jenkinsci.plugins.sshsteps.SSHService
- All Implemented Interfaces:
groovy.lang.GroovyObject
,Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSSHService
(Map remote, boolean failOnError, boolean dryRun, PrintStream logger) -
Method Summary
Modifier and TypeMethodDescriptionstatic SSHService
create
(Map remote, boolean failOnError, boolean dryRun, PrintStream logger) executeCommand
(String command, boolean sudo) executeScriptFromFile
(String pathname) groovy.lang.MetaClass
getProperty
(String property) invokeMethod
(String method, Object arguments) void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(String property, Object value)
-
Constructor Details
-
SSHService
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
-
create
public static SSHService create(Map remote, boolean failOnError, boolean dryRun, PrintStream logger) -
executeCommand
-
executeScriptFromFile
-
put
-
get
-
remove
-