Jenkins,Git和Eclipse [英] Jenkins, Git and Eclipse
问题描述
我已经为Jenkins安装了Git插件,但是当我去配置它时,Jenkins抱怨说它找不到Git可执行文件。这是有道理的,明显的解决方案是安装它(在我的例子中,使用Ubuntu存储库 - sudo apt-get install git-core )。我的担心是在机器上安装两台Git会引起问题 - 或者我过于谨慎?
如果有在未来版本的Git中发生突破性变化,但是应该通过更新这两个安装来解决问题。
I'm new to Jenkins and experimenting at the moment. I use Eclipse and run Git from within Eclipse, using the Git plugin, which is described as follows: 'Eclipse Git is an Eclipse Team provider based on JGit, a pure Java implementation of the Git version control system'.
I've installed the Git plugin for Jenkins but when I go to configure it, Jenkins complains that it can't find the Git executable. That makes sense, and the obvious solution is to install it (in my case, using a Ubuntu repository - sudo apt-get install git-core). My concern is that having two installations of Git on the machine will give rise to problems - or am I being over-cautious?
It's fine to have both - since EGit is pure Java, it has nothing to do with the installed (native code) version of Git.
Problems might arise if there was a breaking change in a future version of Git, but it should be easy enough to fix by updating both installations.
这篇关于Jenkins,Git和Eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!