gmancoda
gmancoda

Reputation: 85

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

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.

Upvotes: 2

Views: 1443

Answers (2)

Ewald Hofman
Ewald Hofman

Reputation: 12668

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.

Upvotes: 4

Aghilas Yakoub
Aghilas Yakoub

Reputation: 28970

You can adjust your ItemsToBuild in Process Tab in Required section

enter image description here

Upvotes: 0

Related Questions