use of org.jenkinsci.test.acceptance.plugins.ssh_slaves.SshSlaveLauncher in project acceptance-test-harness by jenkinsci.
the class SshSlavesPluginTest method configureSSHSlaveLauncher.
private SshSlaveLauncher configureSSHSlaveLauncher(String host, int port) {
SshSlaveLauncher launcher = slave.setLauncher(SshSlaveLauncher.class);
launcher.host.set(host);
launcher.port(port);
launcher.setSshHostKeyVerificationStrategy(SshSlaveLauncher.NonVerifyingKeyVerificationStrategy.class);
return launcher;
}
Aggregations