具有BitBucket云提交状态发布者的TeamCity。 404错误 [英] TeamCity with BitBucket Cloud Commit Status Publisher. 404 Errors
问题描述
详细信息: 提交状态发布商设置: 但是无论何时应该发布一条提交消息,我都会在TeamCity构建配置列表中弹出: 在构建#730中发布状态错误{build id = 68270, 一个奇怪的设置是tha t我使用ssh://git@altssh.bitbucket.org:443地址来解决一些出站防火墙限制,但我怀疑这会导致问题。 我是否需要使用服务帐户用户配置VCS,而不是使用SSH部署密钥?如果可能的话,我宁愿不这样做。
snapshot-20160523141816 Bitbucket Cloud
bitbucket.org上的git存储库类型
VCS设置:
用户名均无效。
buildTypeId = Project_BuildConfigurationName}:无法将状态发布到
Bitbucket Cloud for VCS根Rootname:响应代码:404,原因:NOT
FOUND,留言:'找不到资源'
//youtrack.jetbrains.com/issue/TW-46969rel =nofollow>错误地。作为解决方法切换到标准的ssh url git@bitbucket.org:owner / repo.git。
I'm having problems getting the commit status publisher to work.
Details:
- TeamCity 9.1 Commit Status Publisher Plugin version: snapshot-20160523141816 Bitbucket Cloud
- git repository type on bitbucket.org
VCS Settings:
- Configured to use the private key auth (w/ uploaded key)
- Multiple branches configured.
- Not using VCS Labeling
- No PUSH URL specified (should be failing back to FETCH URL, right?)
Commit Status Publisher Settings:
- I've experimented with these settings, neither email addresses nor usernames work.
But whenever something should publish a commit message, I get this pop up in the TeamCity build configuration list:
Publish status error in build #730 {build id=68270, buildTypeId=Project_BuildConfigurationName}: Cannot publish status to Bitbucket Cloud for VCS root Rootname: response code: 404, reason: NOT FOUND, message: 'Resource not found'
One odd setup thing is that I'm using the ssh://git@altssh.bitbucket.org:443 address to get around some outbound firewall restrictions, though I doubt that would be causing the problem.
Do I need to have the VCS configured with a service account user instead of an SSH Deployment Key? I would rather not do that, if possible.
Commit status publisher parses the url you use incorrectly. As a workaround switch to the standard ssh url git@bitbucket.org:owner/repo.git.
这篇关于具有BitBucket云提交状态发布者的TeamCity。 404错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!