VSO Build -- 响应状态代码不表示成功:404(未找到) [英] VSO Build -- Response status code does not indicate success: 404 (Not Found)

查看:31
本文介绍了VSO Build -- 响应状态代码不表示成功:404(未找到)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试同步时构建总是失败,响应状态代码不表示成功:404(未找到)

Build always fails upon attempt to SYNC, Response status code does not indicate success: 404 (Not Found)

存储库类型为 GIT,在本地机器上部署了一个代理,

Repository Type is GIT, deployed an agent in local machine,

  • 存储库类型为 Microsoft GIT,由同一 VSO 托管
  • Agent 可以与云端的 Visual Studio Team Services 连接,即 Agent 出现在默认池中
  • Visual Studio 可以从部署了 Agent 的本地机器同步
  • 当新构建排队时,代理在尝试同步时失败

构建定义:

  • 平台:$(BuildPlatform)
  • 配置:$(BuildConfiguration)
  • Visual Studio 版本:2015
  • MSBuild 架构:x64
  • 控制选项:启用:真<​​/li>
  • Platform: $(BuildPlatform)
  • Configuration: $(BuildConfiguration)
  • Visual Studio Version: 2015
  • MSBuild Architecture: x64
  • Control Options: enabled: true

推荐答案

请通过以下步骤检查项目集合构建服务"是否对您的代码库具有读取"权限:

Please check if "Project Collection Build Service" has "Read" permission to your code repository via following steps:

  1. 从 Web Portal 打开您的项目.
  2. 点击代码"打开代码面板.
  3. 右键单击存储库并选择安全"选项.
  4. 检查项目集合构建服务"的权限.

确保读取"权限设置为允许",否则您将收到如下 404 错误:

Make sure "Read" permission is set to "Allow", otherwise you will get a 404 error as following:

这篇关于VSO Build -- 响应状态代码不表示成功:404(未找到)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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