TeamCity显示来自快照依赖关系的更改(TeamCity show changes from snapshot dependencies)

我有一个TeamCity构建(A),它只执行checkout和msbuild步骤,并将其作为输出提供给其他三个构建。

构建B是快速运行测试,需要大约5分钟,B通过快照/ artifactory依赖关系使用A输出。

A的输出也用于另外两个构建任务,这些任务是长时间运行的测试和安装程序创建。

就目前而言,当B中的一些测试失败时,我看不到由于引起失败的测试作业B(或c或D)对A所做的更改。

在显示任务B的测试结果时,可以显示为构建任务A所做的更改。因此,我们可以轻松查看哪些更改破坏了构建?

现在也有可能,但需要更多的挖掘TC构建日志

I have a TeamCity build (A) that does only checkout and msbuild steps and provides it's binaries as output to three other builds.

Build B is quick running tests, that take about 5 minutes, B uses A output through snapshot/artifactory dependencies.

Output from A is also used in two other build task which are long running tests and installer creation.

For now, when some tests in B fail, I don't see changes made to A from withing test job B (or c or D) which caused that fail.

Is possible to display changes made to build task A when displaying test results for task B. So we can easily see which changes have broken the build?

Right now it is also possible, but requires some more digging into TC buildlogs

最满意答案

在B中,转至版本控制设置 | 显示高级选项 | 检查显示快照依赖项的更改

这应该做到这一点。 (鉴于您的问题的标题与选项的名称相同,我想知道您是否已经知道此复选框,并且由于某种原因无法正常工作?)

In B, go to the Version Control Settings | Show advanced options | check Show changes from snapshot dependencies.

That should do it. (Given that the title of your question is identical with the name of the option, I wonder if you already know about this checkbox and it's not working for some reason?)

更多推荐