简体   繁体   English

通过TFS2017进行持续集成

[英]Continuous Integration build over TFS2017

I would like to know what is the equivalent of "Continuous Integration - build each check-in" (XAML definition) in VNext definitions. 我想知道VNext定义中的“持续集成-构建每个签入”(XAML定义)的等效性。

1- Is it "Run continuous integration triggers for commited changes" in Gated trigger? 1-是否在Gated触发器中“为提交的更改运行连续集成触发器”?

2-Or it is a "Continuous Integration trigger with batch changes checked" in build definition. 2-或者它是构建定义中的“已检查批次更改的持续集成触发器”。

I ask this question because I was not able to launch a CI build after successfully Gated Check-in. 我问这个问题是因为成功完成Gate Check-in之后,我无法启动CI构建。 My CI build does different steps than Gated. 我的CI生成与Gated执行不同的步骤。

I'm over TFS 2017 (15.117.27414.0). 我已经过了TFS 2017(15.117.27414.0)。

The equivalent of "Continuous Integration - build each check-in" (XAML definition) in VNext definitions is Continuous Integration trigger: VNext定义中的“连续集成-构建每个签入”(XAML定义)等效于连续集成触发器:

在此处输入图片说明

Enable CI trigger if you want the build to run whenever someone checks in code. 如果您希望每当有人签入代码时运行构建,请启用CI触发器。

Select Batch changes check box if you have a lot of team members uploading changes often and you want to reduce the number of builds you are running. 如果您有很多团队成员经常上传更改,并且您希望减少正在运行的内部版本的数量,请选中“ 批量更改”复选框。 If you select this option, when a build is running, the system waits until the build is completed and then queues another build of all changes that have not yet been built. 如果选择此选项,则在运行构建时,系统将等待直到构建完成,然后将尚未构建的所有更改的另一个构建排队。

Select the version control paths you want to include and exclude. 选择要包括和排除的版本控制路径。 In most cases, you should make sure that these filters are consistent with your TFVC mappings on the Repository tab. 在大多数情况下,您应该确保这些过滤器与“ Repository选项卡上的TFVC映射一致。

You can get more details in the link below: 您可以在下面的链接中获取更多详细信息:

https://docs.microsoft.com/en-us/vsts/build-release/concepts/definitions/build/triggers?view=vsts https://docs.microsoft.com/zh-cn/vsts/build-release/concepts/definitions/build/triggers?view=vsts

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM