VSTS-自动链接此版本中的新工作不起作用 [英] VSTS - Automatically link new work in this build is not working

查看:42
本文介绍了VSTS-自动链接此版本中的新工作不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在项目A中,我设置了一个构建,以自动将该构建链接到相关的工作项...第一次就完美地工作了.

In Project A, I setup a build to automatically link the build to associated workitems...worked flawless the first time.

在另一个项目中-我有一个未定义链接的构建定义.

In another project - I have a build-definition which does not set the link.

好奇的是-所述定义的克隆,其中删除了一些任务(基本上只是删除了上传工件",因为这只是针对拉取请求的构建验证测试)设置链接.

What's curious - a clone of said definition, with some tasks removed (basically just "Upload Artifacts" removed, cause it is just a build-verification test for pull-requests) does set the link.

我什至从头开始重新创建了构建定义,但仍然没有添加链接叹气

I even re-created the build-definition from scratch, still no links added sigh

有人对这些问题有见识吗?

Anybody have any insights on these problems?

也-我在调试"模式下运行了该构建,其中包含详细的日志...找不到任何有用的信息.

Also - I ran the build in "debug" mode, with detailed logs...could not find any information which would be helpful.

预先感谢

Johannes Colmsee

Johannes Colmsee

更新:我从构建验证"构建定义中删除了另一个任务:发布符号

Update: there is another task I removed from the "Build-Verification" Build-definition: publish symbols

更新2:对于全新的构建定义,我会收到一条警告,告诉我该链接不是 创建的,因为关联的变更集过多……尽管以后的构建……没有警告,但也没有链接叹气

Update 2: for brand new build-definitions, I will get a warning telling me that the link was not created because too many changesets were associated…for subsequent builds though...no warning, but also no link sigh

更新3:同样-我可以在工作项中手动选择集成于内部版本"链接的内部版本-因此...我想它们也可能会自动添加...

Update 3: also - I can manually select the builds for "integrated in build" link in the workitem - so...they could potentially be added automatically too I suppose...

更新4:后续的PullRequest和以下命令将所有与工作项相关的OK建立起来……所以这可能是我的错.

Update 4: the subsequent PullRequest and the following builds all associated OK to the workitems….so it was probably my fault.

推荐答案

Update 2中的警告消息应该是原因.自动链接工作"功能比较当前版本和先前版本之间的更改和工作项.当更改或工作项的数量大于200时,将不会链接.创建新的构建定义并运行构建时,没有以前的构建,这意味着将计算代码存储库中的所有更改和工作项.而且,如果在后续版本中的更改没有任何更改或未链接任何工作项,则它也不会链接任何工作.

The warning message in your Update 2 should be the reason. "Automatically link work" feature compares the changes and work items between the current build and previous build. When the count of changes or work items is more than 200, it will not link. When you create a new build definition and run a build, there is no previous build which means that all the changes and work items in your code repository are calculated. And also if there is no change or no work item linked in the change in the subsequent build, it will not link any work either.

这篇关于VSTS-自动链接此版本中的新工作不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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