我在 VSTS 上设置了构建代理和构建过程。所有配置都正常,但构建在获取源步骤时失败。这是我尝试过的:
- 检查权限:由于我的个人资料是该项目的所有者,所以我这样做
未在角色中指定权限
- 我尝试将 PAT 的范围更改为 ALL
范围但我没有运气。
-
升级到最新版本2.14.1.windows.1。但我知道为什么它仍然显示2.12.0.windows.1。
2017-08-15T03:51:34.4449577Z ##[command]git version
2017-08-15T03:51:34.5159426Z git version 2.12.0.windows.1
2017-08-15T03:51:34.5239707Z ##[command]git init "C:\agent\_work\1\s"
2017-08-15T03:51:34.5889586Z Initialized empty Git repository in C:/agent/_work/1/s/.git/
2017-08-15T03:51:34.5929735Z ##[command]git remote add origin https://ezcm.visualstudio.com/_git/NSample
2017-08-15T03:51:34.6430065Z ##[command]git config gc.auto 0
2017-08-15T03:51:34.6915534Z ##[command]git config --get-all http.https://ezcm.visualstudio.com/_git/NSample.extraheader
2017-08-15T03:51:34.7356779Z ##[command]git config --get-all http.proxy
2017-08-15T03:51:34.7846598Z ##[command]git -c http.extraheader="AUTHORIZATION: bearer ********" fetch --tags --prune
--progress --no-recurse-submodules 起源
2017-08-15T03:51:34.8901839Z ##[错误]Git 获取失败,退出代码:128
2017-08-15T03:51:34.8981753Z ##[节]整理:获取来源
请帮我解决这个问题。谢谢你!
我有一个企业 GitHub 存储库。当我将存储库设置为“私有”时,我开始收到此错误,即使用户是存储库的管理员,我也会继续获得退出代码 128。
我把它改回公共存储库,它工作得很好。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)