I have a TFS 2010 build definition with its XAML workflow logic and stuff.

This is a Continuous Integration def, and it's associated to several solutions included in the same server/workspace folder.

I want it to compile and run tests but just the solutions which workspaces were affected. To be clearer, for example: I check in a .cs file of a Solution; I want the definition to compile ONLY the solution that has the change and discard the other solutions unless the check-in changeset involves a file included in those solutions.

I did some research of IncrementalBuild and IncrementalGet (which can be achieved with the 'Clean Workspace' parameter of the Build Definition) but it is still compiling ALL solutions.

Is there a way to accomplish this, by changing the XAML workflow or any special parameter?

Thanks,

有帮助吗?

解决方案

AFAIK, you'd have to split these solutions out into different builds. When a build definition is triggered, it's going to process all the items to build. Now the solution should skip projects that are up to date but the solution itself will be processed.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top