Class SSHAgentBuildWrapper

java.lang.Object
hudson.model.AbstractDescribableImpl<BuildWrapper>
hudson.tasks.BuildWrapper
com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper
All Implemented Interfaces:
ExtensionPoint, Describable<BuildWrapper>

public class SSHAgentBuildWrapper extends BuildWrapper
A build wrapper that provides an SSH agent using supplied credentials
  • Constructor Details

    • SSHAgentBuildWrapper

      @Deprecated public SSHAgentBuildWrapper(String user)
      Constructs a new instance.
      Parameters:
      user - the IdCredentials.getId() of the credentials to use.
    • SSHAgentBuildWrapper

      @DataBoundConstructor public SSHAgentBuildWrapper(SSHAgentBuildWrapper.CredentialHolder[] credentialHolders, boolean ignoreMissing)
      Constructs a new instance.
      Parameters:
      credentialHolders - the SSHAgentBuildWrapper.CredentialHolders of the credentials to use.
      ignoreMissing - true missing credentials will not cause a build failure.
      Since:
      1.5
    • SSHAgentBuildWrapper

      public SSHAgentBuildWrapper(List<String> credentialIds, boolean ignoreMissing)
      Constructs a new instance.
      Parameters:
      credentialIds - the IdCredentials.getId()s of the credentials to use.
      ignoreMissing - true missing credentials will not cause a build failure.
      Since:
      1.5
  • Method Details