Branch: refs/heads/master
Home: https://github.com/jenkinsci/git-client-plugin
Commit: 824d0286fd928f8e032059c063cfe1f40cbb252f
https://github.com/jenkinsci/git-client-plugin/commit/824d0286fd928f8e032059c063cfe1f40cbb252f
Author: Mark Waite <[email protected]>
Date: 2014-07-15 (Tue, 15 Jul 2014)
Changed paths:
M src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java
M src/test/java/org/jenkinsci/plugins/gitclient/CliGitAPIImplTest.java
Log Message:
-----------
Handle git version string from msysgit as special case
Commit: 9430af74220cc9a11dd5e523332c0f5006cbafdd
https://github.com/jenkinsci/git-client-plugin/commit/9430af74220cc9a11dd5e523332c0f5006cbafdd
Author: Mark Waite <[email protected]>
Date: 2014-07-15 (Tue, 15 Jul 2014)
Changed paths:
M src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java
M src/test/java/org/jenkinsci/plugins/gitclient/GitAPITestCase.java
Log Message:
-----------
[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
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" 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.