无法检查TFS并使用持续集成进行构建

时间:2021-04-30 15:39:33

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.

我有一个Azure Web应用程序,我昨天检查了TFS,没有任何问题。签入后,资源管理器将注入我们的nuget包并在成功构建时进行部署。

I made a few changes (added a class) and checked in today. I received this error on the build: 无法检查TFS并使用持续集成进行构建

我做了一些更改(添加了一个类)并在今天签到。我在构建时收到此错误:

无法检查TFS并使用持续集成进行构建

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'.

退出代码1从进程返回:文件名'tf',参数'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

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!

为了拯救他人免于头痛。问题是我们每个项目都有CI构建。来自另一个项目的文件也被窃听了。所以我在两个不同的解决方案(两个都转到同一个TFS服务器)上检查2个不同的项目。因此,请确保您只签入该项目!

1 个解决方案

#1


24  

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!

为了拯救他人免于头痛。问题是我们每个项目都有CI构建。来自另一个项目的文件也被窃听了。所以我在2个不同的解决方案(两个都转到同一个TFS服务器)上检查2个不同的项目。因此,请确保您只签入该项目!

#1


24  

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!

为了拯救他人免于头痛。问题是我们每个项目都有CI构建。来自另一个项目的文件也被窃听了。所以我在2个不同的解决方案(两个都转到同一个TFS服务器)上检查2个不同的项目。因此,请确保您只签入该项目!