public class SSHAgentBuildWrapper
extends hudson.tasks.BuildWrapper
| Modifier and Type | Class and Description |
|---|---|
static class |
SSHAgentBuildWrapper.DescriptorImpl
Our descriptor.
|
| Constructor and Description |
|---|
SSHAgentBuildWrapper(String user)
Constructs a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getUser()
Gets the
IdCredentials.getId() of the credentials to use. |
void |
preCheckout(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
hudson.tasks.BuildWrapper.Environment |
setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
@DataBoundConstructor public SSHAgentBuildWrapper(String user)
user - the IdCredentials.getId() of the credentials to use.public String getUser()
IdCredentials.getId() of the credentials to use.IdCredentials.getId() of the credentials to use.public void preCheckout(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
preCheckout in class hudson.tasks.BuildWrapperIOExceptionInterruptedExceptionpublic hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
setUp in class hudson.tasks.BuildWrapperIOExceptionInterruptedExceptionCopyright © 2004-2014. All Rights Reserved.