Team Build - Get Workspace - get latest from speci

2020-07-27 04:07发布

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.

2条回答
霸刀☆藐视天下
2楼-- · 2020-07-27 04:32

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.

查看更多
唯我独甜
3楼-- · 2020-07-27 04:32

You can adjust your ItemsToBuild in Process Tab in Required section

enter image description here

查看更多
登录 后发表回答