Unable to check into TFS and Build with Continuous Integration '

…衆ロ難τιáo~ 提交于 2020-01-02 00:19:51

问题


I have an Azure Web application that I checked into TFS yesterday with no issues. Upon checking in, the resource manager will inject our nuget packages and deploy if it builds successfully.

I made a few changes (added a class) and checked in today. I received this error on the build:

Here's the quote to help the future search bots:

Exit code 1 returned from process: file name 'tf', arguments 'vc unshelve Gated_xxxxxx;****** /loginType:OAuth /login:.,******** /noprompt'.

I looked into the log response, to see if I get more detail, but it says the exact same thing. I have not changed my password or username.

How can I debug this to figure out the issue?

UPDATE

To save others from the headache. The issue was that we had CI builds per project. A file from another project had snuck in as well. So I was checking in for 2 different projects on 2 different solutions (Which both go to the same TFS server). So make sure you only check in for that one project!


回答1:


To save others from the headache. The issue was that we had CI builds per project. A file from another project had snuck in as well. So I was checking in for 2 different projects on 2 different solutions (Which both go to the same TFS server). So make sure you only check in for that one project!




回答2:


You can receive that error as well if you try to check in a file that is in a project that is not mapped in your build definition.

Let's say that you have a file named FileA.cs that is in a project named ProjectA.csproj. If you do changes in FileA.cs and this file is included in your changes, you need to map ProjectA.csproj in the Get source step of the build definition.



来源:https://stackoverflow.com/questions/40405685/unable-to-check-into-tfs-and-build-with-continuous-integration

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!