Skip to content

Commit

Permalink
Move to latest version of jenkins-test-harness to fix JENKINS-40351
Browse files Browse the repository at this point in the history
  • Loading branch information
mc1arke committed Mar 14, 2017
1 parent 92f6dde commit ab8450b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 49 deletions.
1 change: 1 addition & 0 deletions pom.xml
Expand Up @@ -18,6 +18,7 @@
<properties>
<jenkins.version>1.609.1</jenkins.version>
<java.level>6</java.level>
<jenkins-test-harness.version>2.18</jenkins-test-harness.version>
</properties>

<developers>
Expand Down
3 changes: 2 additions & 1 deletion src/test/java/hudson/plugins/sshslaves/SSHLauncherTest.java
Expand Up @@ -25,6 +25,7 @@

import com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl;
import com.gargoylesoftware.htmlunit.html.HtmlPage;
import hudson.plugins.sshslaves.verifiers.KnownHostsFileKeyVerificationStrategy;
import hudson.slaves.NodeProperty;
import hudson.tools.JDKInstaller;
import java.io.BufferedReader;
Expand Down Expand Up @@ -124,7 +125,7 @@ public void configurationRoundtrip() throws Exception {
new UsernamePasswordCredentialsImpl(CredentialsScope.SYSTEM, "dummyCredentialId", null, "user", "pass")
)
);
SSHLauncher launcher = new SSHLauncher("localhost", 123, "dummyCredentialId", null, "xyz", null, null, 1, 1, 1);
SSHLauncher launcher = new SSHLauncher("localhost", 123, "dummyCredentialId", null, "xyz", null, null, 1, 1, 1, new KnownHostsFileKeyVerificationStrategy());
DumbSlave slave = new DumbSlave("slave", "dummy",
j.createTmpDir().getPath(), "1", Mode.NORMAL, "",
launcher, RetentionStrategy.NOOP, Collections.<NodeProperty<?>>emptyList());
Expand Down

This file was deleted.

0 comments on commit ab8450b

Please sign in to comment.