Team Build - Get Workspace - get latest from specific paths, NOT everything

放肆的年华 提交于 2019-12-06 10:06:29

问题


I have a simple build definition which I want to use to build just one project, and every time I choose to run this build, I want to get latest from the branch/directories that pertain only to the project in question. How do I do that? The call to "Get Workspace" gets everything from source control, and I do not want to (or need to, for that matter) get latest from everything for various reasons.

I hope I am not asking for much.

Thanks in advance.


回答1:


Check the workspace mapping in the build definition. The build only gets the items that you have specified over there. If you want to exclude some folders within the path that you are mapping, you can choose to cloak some folders.




回答2:


You can adjust your ItemsToBuild in Process Tab in Required section



来源:https://stackoverflow.com/questions/12732642/team-build-get-workspace-get-latest-from-specific-paths-not-everything

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