Jenkins git-client: how to move to jgit on windows

前端 未结 2 1996
北恋
北恋 2021-01-06 07:27

Since the Jenkins git-client plugin moved to use jgit, there have been a lot of issues with configuration and all of the solutions I have seen invo

2条回答
  •  醉话见心
    2021-01-06 07:38

    JGit picks up some setting from the system wide configuration file /etc/gitconfig which git installs, but only if it can find it. It will find the file if git is in PATH, but you can also set the system property jgit.gitprefix to the path of where git is installed, i.e. path to the directory above the bin directory, .e. C:\Program Files\Git

提交回复
热议问题