-
Notifications
You must be signed in to change notification settings - Fork 399
Windows agents connected to Jenkins by SSH hang when cloning an SSH repo from github.com #1716
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
base: master
Are you sure you want to change the base?
Conversation
|
I just Reordered the SSH executable discovery logic on Windows to prefer the Git-for-Windows / MinGit Microsoft OpenSSH can block in non-interactive CI environments, causing git fetch to hang. Git-for-Windows's |
If we can't make it work reliably, I'd rather remove it than risk that users would be surprised to start using it.
Could you check if there are command line arguments that can be passed to Microsoft OpenSSH that will cause it to not block in CI environments? I was aware of the |
I added command line argument. Please see. |
For my convenience testing, could you put the PATH search back to the first in the list? That will allow me to test your pull request and confirm that it resolves the issue I saw in my testing, without major changes to my test environment. |
Please test it now. |
Please merge the latest changes from the master branch so that I have an incremental that includes the changes from the very recent 6.4.3 release. |
Incremental with changes from pull request: * jenkinsci/git-client-plugin#1716
… and disabling PasswordAuthentication
9b4d721 to
ee01a7b
Compare
Done! |
|
Unfortunately, it still hangs in my test environment. I think we should revert the change from the master branch so that the master branch is ready to release. You are welcome to continue exploring the change, but I think it is not yet ready to release. |
MarkEWaite
left a comment
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.
Does not resolve the issue in my test environment.
Ok then can you please assign me or suggest me few backend related issues in this plugin or another plugin you maintained, it will be helpful for me to contribute? And also I have another two open PRs #1707 and #1713 in this plugin, it will be helpful if you review those PRs. Thank you! |
I'm focused on completing the testing and other preparation for the release of git client plugin 6.5.0. I won't review those two pull requests until I've completed the release of git client plugin 6.5.0. I don't like to allow a long time between the release of a new JGit version and a matching release of the git client plugin. |
Windows agents connected to Jenkins by SSH hang when cloning an SSH repo from github.com
Fixes #1715
Testing done
Submitter checklist