Cyc*_*guy 5 git continuous-integration cd azure-devops azure-pipelines
我在VSTS上设置了一个构建代理和构建过程。所有配置都可以,但是在获取源代码步骤时构建失败。这是我尝试过的:
升级到最新版本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
Run Code Online (Sandbox Code Playgroud)
--progress --no-recurse-submodules来源2017-08-15T03:51:34.8901839Z ## [错误] Git提取失败,退出代码:128 2017-08-15T03:51:34.8981753Z ## [节]完成:获取资源
请帮助我找出问题所在。谢谢!
我有一个企业 GitHub 存储库。当我将存储库设置为“私有”时,我开始收到此错误,即使用户是存储库的管理员,我也会继续获得退出代码 128。
我将其改回公共存储库,效果很好。