我在VSTS上设置了一个构建代理和构建流程。所有的配置都正确,但是在获取源代码的步骤中构建失败了。以下是我尝试过的方法:
- 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.
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 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
请帮我找出问题所在。谢谢!