我在VSTS上设置了一个构建代理和构建过程.所有配置都可以,但是在获取源代码步骤时构建失败.这是我尝试过的:
I setup a build agent and build process on VSTS. All configuration is ok but build is failed at getting source step. Here is what I have tried:
- 检查权限:由于我的个人资料是该项目的所有者,所以我愿意 没有在角色中指定权限
- 我试图将PAT的范围更改为ALL 范围,但我没有运气.
-
升级到最新版本2.14.1.windows.1.但是我知道为什么它仍然显示2.12.0.windows.1.
- Check permission: Since my profile is owner of this project so I do not specify permission in Roles
- I tried to change PAT's scope to ALL scope but I have no luck.
Upgrade to latest version 2.14.1.windows.1. But I know why it still shows 2.12.0.windows.1.
-progress --no-recurse-submodules的来源 2017-08-15T03:51:34.8901839Z ## [错误] Git提取失败,退出代码:128 2017-08-15T03:51:34.8981753Z ## [section]完成:获取资源
--progress --no-recurse-submodules origin 2017-08-15T03:51:34.8901839Z ##[error]Git fetch failed with exit code: 128 2017-08-15T03:51:34.8981753Z ##[section]Finishing: Get Sources
请帮助我找出问题所在.谢谢!
Please help me to figured out the issue. Thank you!
推荐答案我有一个Enterprise GitHub存储库.当我将存储库设置为私有"时,即使用户是该存储库的管理员,我也开始收到此错误,我将继续获得退出代码128.
I have a Enterprise GitHub repository. I started getting this error when I made the repository 'Private' even if the user was Admin on the repository I would continue to get exit code 128.
我将其改回了可以正常工作的公共存储库.
I changed it back to be public repository it worked fine.
更多推荐
VSTS构建因Git提取失败而失败,退出代码为:128
发布评论