On Premise Gated Check-in 失败,并显示“Theshelfset ... could not be found for check-in" [英] On Premise Gated Check-in Fails with "The shelveset ... could not be found for check-in"

查看:20
本文介绍了On Premise Gated Check-in 失败,并显示“Theshelfset ... could not be found for check-in"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用新的 TFS 2015 Update 2 门控版本时遇到问题.

I am having an issue with the new TFS 2015 Update 2 Gated Builds.

在尝试签入门控构建队列后,构建的每个部分都成功,直到到达签入门控更改"的最后一步.

After attempting a check-in the gated build queues just fine, every part of the build is successful until it reaches the last step of "Check in gated changes".

当我查看该步骤的日志时,我得到:

When I look at the log for that step I get:

[Error]The shelveset _Build_5427;Build\ad8fe058-f936-4908-91de-57e7bc6a2f9d could not be found for check-in

当我查看获取源"日志时,我看到:

When I look at the 'Get Sources' log, I see:

2016-04-01T19:11:12.3062092Z tf get /version:C6213

2016-04-01T19:11:13.2125013Z tf shelve _Build_5427 /replace

2016-04-01T19:11:13.3218610Z Successfully created new shelveset _Build_5427;Domain\BuildServiceUser

我将用户名识别为服务用户(因此在此处对其进行了编辑).看起来它正在尝试为错误的用户找到正确的搁置集名称.

I recognize the username as the service user (and have thus redacted it here). It looks like it is trying to find the correct shelveset name, but for the wrong user.

2016 年 4 月 20 日更新:
我最终不得不创建一个全新的项目.

Update 4/20/2016 :
I ended up having to create a brand new project.

推荐答案

我在使用本地 TFS 2015 Update 2 时遇到了这个问题.作为一种解决方法,我使用常规 CI 构建而不是 Gated 触发器解决了这个问题,并安排了一个每晚发布构建.

I experienced this issue using on-premise TFS 2015 Update 2. As a workaround I settled with a regular CI-build instead of the Gated trigger and I scheduled a release buiild nightly.

但是,我们最近安装了 TFS 2015 Update 3 并解决了这个问题.我们现在使用我们想要的配置:1 个用于检查更改的 Gated 构建和 1 个用于发布的持续集成构建.

However, we have recently installed TFS 2015 Update 3 and that solved the issue. We now use the configuration that we wanted: 1 Gated build that checks in the changes and 1 Continuous Integration build for the release.

这篇关于On Premise Gated Check-in 失败,并显示“Theshelfset ... could not be found for check-in"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆