配置詹金斯连接到位桶 [英] Configure Jenkins to connect to BitBucket

查看:326
本文介绍了配置詹金斯连接到位桶的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想,以从我的到位桶库拉我的iPhone应用程序的code在我的Mac Mini配置詹金斯。在X code插件配置区我尝试添加我的项目的git的地址,但它不断失败。研究之后,它看起来像我不得不使用一个ssh部署关键连接到位桶和詹金斯。
我迄今所做的:

I'm trying to configure Jenkins on my Mac Mini in order to pull the code of my iPhone App from my BitBucket repository. In the "Xcode plugin" configuration area I have tried to add the git address of my project but it keeps on failing. After a research it looks like I have to use an ssh deployment key to connect Bitbucket and Jenkins. What I have done so far:

ssh-keygen -t rsa 

pbcopy <  /Users/jenkins/.ssh/id_rsa.pub

和我说这个SSH密钥到我的个人资料到位桶

and I added this SSH key to my BitBucket profile.

不幸的是,仍然无法正常工作。

Unfortunately it still doesn't work.

任何人可以详细的全过程解释?

Can anybody explain in detail the whole process?

推荐答案

好吧,也许我找到了这里的解决方案:的 http://colonelpanic.net/2011/06/jenkins-on-mac-os-x-git-w-ssh-public-key /

Ok maybe I found the solution here: http://colonelpanic.net/2011/06/jenkins-on-mac-os-x-git-w-ssh-public-key/

记得用重新生成密钥:

ssh-keygen -t rsa 

将它与复制:

pbcopy <  /Users/Shared/Jenkins/Home//.ssh/id_rsa.pub

要上传的到位桶和运行:

to upload it in BitBucket and run:

ssh git@bitbucket.org

为了增加已知的主机之间的到位桶

in order to add bitbucket among the known hosts

这篇关于配置詹金斯连接到位桶的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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