Jenkins,Git和Eclipse [英] Jenkins, Git and Eclipse

查看:169
本文介绍了Jenkins,Git和Eclipse的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚接触詹金斯,目前正在进行实验。我使用Eclipse并从Eclipse中运行Git,使用Git插件,其描述如下:'Eclipse Git是基于JGit的Eclipse Team提供程序,它是Git版本控制系统的纯Java实现。



我已经为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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆