为什么TeamCity构建偶尔会失败,因为"无法更新...(LOCK_FAILURE)"?

时间:2016-07-11 13:20:34

标签: git teamcity

我有一个TeamCity版本偶尔会因以下错误而失败:

  

收集更改失败,错误:收集VCS存储库更改时出错' " MyVCSRoot" {instance id = 25,parent internal id = 4,parent id = MyBuild_MyVCSRoot ,说明:" git@github.com:MyOrg / MyRepository .git #refs / heads / master"}'
  ' git fetch'命令失败。
  stderr:无法更新' refs / heads / MyBranch ' (LOCK_FAILURE)。
  退出代码:1

相关细节:
- "偶尔失败"意味着构建确实在大多数时间内成功运行 - TeamCity版本是v9.1.7,在Windows上运行。 - 构建配置只有一个名为" MyVCSRoot" 的VCS根目录。
- VCS Root指向GitHub上托管的私有Git仓库,并使用SSH进行身份验证 - VCS Checkout模式"自动代理(如果VCS根支持)"

更新:我认为这可能是一个线索:

  

[14:58:31]收集2个VCS根(21s)的变化
  [14:58:31] [收集2个VCS根中的变化] VCS Root详细信息
  [14:58:31] [VCS Root详细信息]" MyVCSRoot " {instance id = 32,parent internal id = 4,parent id = MyBuild_MyVCSRoot ,description:" git@github.com: ***** / *****。git#参考文献/头/主"}
  [14:58:31] [VCS Root详细信息]" AnotherVCSRoot " {instance id = 2,parent internal id = 1,parent id = AnotherBuild_AnotherVCSRoot ,description:" https://github.com/ ***** / *****。git #refs / heads / master"}

但是为什么我的构建使用来自另一个构建的其他VCS根目录?

0 个答案:

没有答案
相关问题