TeamCity show changes from snapshot dependencies

江枫思渺然 提交于 2019-12-13 01:28:34

问题


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


回答1:


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?)




回答2:


Following on from the accepted answer of Version Control Settings | Show advanced options | check Show changes from snapshot dependencies. The dependent builds do not need a VCS Root to show changes from dependencies.



来源:https://stackoverflow.com/questions/34266660/teamcity-show-changes-from-snapshot-dependencies

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