Jenkins 链接到我的本地 git 存储库 [英] Jenkins linking to my local git repository
本文介绍了Jenkins 链接到我的本地 git 存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我也是 Jenkins 和 git 的新手.我在 github.com
上创建了一个远程存储库,并制作了它的本地副本.
然后我想通过詹金斯链接它.我安装了 git 集成所需的插件,但我不知道在配置新项目时我的本地存储库 URL 是什么来设置它.有人可以帮我在哪里找到它吗?
I'm new to Jenkins and git too. I created a remote repository at github.com
and made a local copy of it.
Then I want to link it through Jenkins. I installed needed plugins for git integration, but I don't know what my local Repository URL is to set it when configuring the new project. Could someone help me where to find it?
推荐答案
在这种情况下,URL 应以文件协议开头,后跟存储库的路径.例如,file:///home/rbkcbeqc/dev/git/gitsandbox
.
In this case, the URL should start with the file protocol followed by the path to the repository. E.g., file:///home/rbkcbeqc/dev/git/gitsandbox
.
这篇关于Jenkins 链接到我的本地 git 存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文