是否可以使用Bitbucket在TFS上进行持续集成? [英] Is Continous Integration on TFS using Bitbucket possible?

查看:116
本文介绍了是否可以使用Bitbucket在TFS上进行持续集成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在TFS Online上建立CI构建.我已经很习惯使用tfs git存储库了. 与我一起工作的实际团队使用的是Bitbucket.因此,我首先建立了一个与Bitbucket链接的版本,该版本运行良好.

I'm trying to set up a CI build on TFS Online. I'm pretty much used to it using the tfs git repository. The actual team I'm working with however uses Bitbucket. So I started by setting up a build linked to Bitbucket, which worked flawlessly.

但是,当我保存设置时,激活CI似乎触发了Bitbucket的错误:"Bitbucket返回了错误:'Forbidden'".

However, activating CI seemed to trigger an error from Bitbucket when I save my settings : "Bitbucket returned the error : 'Forbidden'".

我找到了2种可能的解决方案:

I found 2 possible solutions :

  • 使用我有点费力的通用"git远程存储库",我似乎不得不为CI设置不同的连接,这似乎很奇怪.
  • 使用第三方应用(例如Zapier)触发构建.但老实说,我为什么要添加新的维护层?

任何帮助或建议都将受到欢迎.

Any help or suggestion would be welcome.

谢谢!

对此问题进行快速跟进: 我已与Microsoft联系,如果CI是公开的,CI似乎可以在Bitbucket存储库上使用. 支持将逐步升级,我们将看到问题的根源.

Quick follow up on this issue : I contacted Microsoft about it and it seems CI does work on Bitbucket repositories if they are public. Support will escalade and we'll see what's the source of the problem.

推荐答案

原因是您无权使用另一个具有足够权限的帐户来创建webhook.

The reason is that you don’t have the permission to create webhook, using another account that have enough permission instead.

这篇关于是否可以使用Bitbucket在TFS上进行持续集成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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