-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JENKINS-57967] Pass SshHostKeyVerificationStrategy to SSHLauncher #104
Conversation
Merge from upstream
First version where SshHostKeyVerificationStrategy was added to the SSHLauncher ctor
Removed in 1.30.0? Ah, I guess I best not update that plugin on my vSphere-using Jenkins servers then... Once you're happy that this PR is complete, let me know; we can then both test the results in our respective "real world" environments and, if that all looks good, I'll kick out a new release... |
I believe this PR is complete; it builds successfully here, and I've also installed it on my test Jenkins system, upgraded SSH Slaves to 1.30.0 there, and was able to spawn and build on all the different ssh-connected vSphere templates I have set up. It's my first time contributing to this plugin, so if I've missed any typical steps, please let me know. |
1st-time or not, it looks like you've done everything right.
Out of interest, what was the symptom(s) of upgrading the SSH plugin to 1.30.0 without this fix? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good to me.
@pjdarton -- thank you. I'd added the link to the corresponding Jira ticket in the body of my first commit message -- meaning for that to become part of the PR description -- but then did a catch-up with origin first, which resulted in needing to fill in the PR description manually, so I lost that. I've added it back. You can see the stack trace, etc. on that ticket. |
Plugin version 2.20 has been built & uploaded; it should be on the update servers soon. |
Previous version of the constructor was removed in SSH Slaves 1.30.0. Fixes problem detailed in https://issues.jenkins-ci.org/browse/JENKINS-57967.