|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Code changed in jenkins
User: Mark Waite
Path:
src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java
src/test/java/org/jenkinsci/plugins/gitclient/GitAPITestCase.java
http://jenkins-ci.org/commit/git-client-plugin/9430af74220cc9a11dd5e523332c0f5006cbafdd
Log:
[Fixed JENKINS-21806] Improve ssh.exe finding on Windows with msysgit
Adapt to msysgit installed in non-default locations, and to msysgit
alternative configurations as allowed by the msysgit installer. The
mssygit installer allows the user to choose to make no changes to the
PATH, or to add the "cmd" directory to the PATH, or add the "bin"
directory to the PATH.
If the user chooses to make no changes to the PATH, then they
configure their Jenkins git with the absolute path of the git
executable.
If the user chooses to add the "cmd" directory to the PATH, then they
configure their Jenkins git with the executable as "git", "git.exe",
or (with some msysgit versions) "git.cmd".
If the user chooses to add the "bin" directory to the PATH, then they
configure similarly to the "cmd" directory case.
The plugin attempts to handle all those cases correctly.
Special thanks to Thiago Zanetti for providing the original code for
this fix.
Compare: https://github.com/jenkinsci/git-client-plugin/compare/11e443933ff0...9430af74220c