TFS连续集成构建仅在解决方案中触发一个项目 [英] TFS Continuous Integration Build Trigger only one project in a solution

查看:179
本文介绍了TFS连续集成构建仅在解决方案中触发一个项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一种方法可以在TFS 2010中创建一个使用持续集成触发器的构建定义,并且只构建项目的代码已更改。



我要搜索的是以下场景:



1解决方案



x解决方案中的项目



1



解决办法方案

将Process选项卡中任何*。* proj而不是* .sln放在构建定义的要构建的项目部分。

在工作空间部分,则只选择与此项目相关的源代码控制路径。


Is there a way to create a build definition, in TFS 2010, that uses continuous integration trigger, and only builds the project who's code changed.

To clarify, what I'm searching for is the following scenario:

1 Solution

x Projects in Solution

1 Build Definition per Project

All Builds are CI triggered

When a check-in occours in a project only that project gets built and tested.

解决方案

Place in your build definition's "Items to build" section of the "Process" tab any *.*proj instead of a *.sln.
In the "Workspace" section, select only the source control paths that relate with this project.

这篇关于TFS连续集成构建仅在解决方案中触发一个项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆