public interface RemoteAgent
| Modifier and Type | Method and Description |
|---|---|
void |
addIdentity(String privateKey,
String passphrase,
String comment,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Adds the provided identity to the agent.
|
String |
getSocket()
Returns the value that the environment variable should be set to.
|
void |
stop(hudson.Launcher launcher,
hudson.model.TaskListener listener)
Stops the agent.
|
String getSocket()
void addIdentity(String privateKey, String passphrase, String comment, hudson.Launcher launcher, hudson.model.TaskListener listener) throws IOException, InterruptedException
privateKey - the private key.passphrase - the passphrase or null.comment - the comment to give to the key.launcher - the launcher for the remote node.listener - for logging.IOException - if something went wrong.InterruptedExceptionvoid stop(hudson.Launcher launcher,
hudson.model.TaskListener listener)
throws IOException,
InterruptedException
launcher - the launcher for the remote node.listener - for logging.IOExceptionInterruptedExceptionCopyright © 2016–2020. All rights reserved.