本文介绍了具有BitBucket云提交状态发布者的TeamCity。 404错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
详细信息:
- TeamCity 9.1提交状态发布者插件版本:
snapshot-20160523141816 Bitbucket Cloud
-
bitbucket.org上的git存储库类型
VCS设置:
- 配置为使用私钥auth( w /上传密钥)
- 配置了多个分支。
- 不使用VCS标签
- 没有指定PUSH URL(应该回退到FETCH URL,对吧?)
提交状态发布商设置:
但是无论何时应该发布一条提交消息,我都会在TeamCity构建配置列表中弹出:
一个奇怪的设置是tha t我使用ssh://[email protected]:443地址来解决一些出站防火墙限制,但我怀疑这会导致问题。
我是否需要使用服务帐户用户配置VCS,而不是使用SSH部署密钥?如果可能的话,我宁愿不这样做。
//youtrack.jetbrains.com/issue/TW-46969rel =nofollow>错误地。作为解决方法切换到标准的ssh url [email protected]: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 onbitbucket.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 norusernames work.
But whenever something should publish a commit message, I get this pop up in the TeamCity build configuration list:
One odd setup thing is that I'm using the ssh://[email protected]: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 [email protected]:owner/repo.git.
这篇关于具有BitBucket云提交状态发布者的TeamCity。 404错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!