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

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

问题描述

尝试进行SYNC时,构建始终失败, 响应状态代码不指示成功: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托管
  • 代理可以在云中与Visual Studio Team Services连接,即代理显示在默认池中
  • Visual Studio可以从部署代理的本地计算机进行同步
  • 当新版本排队时,代理尝试进行同步失败

内部定义:

  • 平台:$(BuildPlatform)
  • 配置:$(BuildConfiguration)
  • Visual Studio版本:2015年
  • MSBuild体系结构:x64
  • 控制选项:已启用:是
  • 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门户打开您的项目.
  2. 单击代码"以打开代码面板.
  3. 右键单击存储库,然后选择安全性"选项.
  4. 检查项目集合生成服务"的权限.
  1. Open your project from Web Portal.
  2. Click "Code" to open code panel.
  3. Right click on the repository and select "Security" option.
  4. Check the permission of "Project Collection Build Service".

确保将读取"权限设置为允许",否则将出现404错误,如下所示:

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

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

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