gated-checkin

Combining “Gated Checkin” and “Continuious Integration” Builds in Team Foundation Server

老子叫甜甜 提交于 2019-12-23 20:21:59
问题 this Question moved to how to prevent an Gated Check-In to put the Keyword ***NO_CI*** in the Comment where I put the Question in more detail with my gained knowledge For ensuring Code Quality and Unit Testing I habe established a Gated Check-In Build in my Project. Also there is another Build Definition to be triggered by Check-In (Continuous Integration Build), which I want to have build after Check-In. My expectation was, that The Gated Check in was executed and after successful Build and

TFS Gated check-in — How to reject check-in on Partial Build Success?

拜拜、爱过 提交于 2019-12-23 12:25:03
问题 I have a post-build script (powershell) which throws an exception, as expected. The post-build script is defined in the build definition in the 'Post-build script path' section. The exception is logged in the 'Other Errors and Warnings' section of the build. With gated check-in turned on changes are still committed even though the build is classed as 'partial' (because the post build script failed). It seems that commits are only rejected if MSBuild fails or the unit tests fail. How can I

TFS 2010: Gated Check-In On Main Branch; Rolling Builds on Dev Branch?

别说谁变了你拦得住时间么 提交于 2019-12-22 18:44:15
问题 I recently migrated from VSS to TFS 2010 and I've been absolutely loving it, but there's something I haven't yet been able to get working the way I think it should. GOALS I'd like to quickly know when a change to Development breaks a build. If we find out after-the-fact, it's no big deal. Since a lot of check-ins happen throughout the day, we don't want to wait on the build to finish, so it should be asynchronous. With our Main branch, I'd like to ensure that any time a merge happens into it,

Gated check-in always associates work items with build

六月ゝ 毕业季﹏ 提交于 2019-12-14 01:03:29
问题 I am using TFS2010 with gated check-ins, and even though I have set "Associate Chagesets and Work Items" to false, changesets and work items are associated with this build. This happens only on gated builds. If I run build with other check-in triggers (manual, continuous, schedule), changesets and work items are not associated with the build unless "Associate Changesets and Work Items" is set to true. Any ideas why this is happening? I'm using Visual Studio Scrum process template with default

TFS 2015 vNext Gated Check-in builds are “Waiting for an agent to be requested”?

半世苍凉 提交于 2019-12-11 09:57:07
问题 We are trying to use TFS 2015 Gated Builds. The trigger hooks in correctly, and the build gets created, but it never gets picked up by any agent. Non-gated builds start fine, and if we manually restart the gated build, that runs fine too. But the gated build (the important one), just sits there saying "Waiting for an agent to be requested" and "Waiting for an available agent": No logs get created in the _diag folder for these builds. EDIT: Added screncap of agent: 回答1: Check the table tbl

Can we build multiple gated check-ins in parallel?

若如初见. 提交于 2019-12-07 05:19:15
问题 Assuming we continue to use XAML build definitions for gated check-ins in TFS 2015 because the vNext system doesn't support them, is it still possible to get multiple gated check-ins running in parallel? I know that there is a Parallel option in the Build setup UI but I don't know if it can be applied to XAML build definitions as well, and what other constraints there are. Can you build in parallel on the same box (as long as it supports multiple agents)? 回答1: XAML based gated builds of the

TFS 2010 Issue with tracking Changesets in Builds that are a result of Gated Checkins

北城以北 提交于 2019-12-06 11:59:37
问题 In order to retrieve the information which Changeset was included in which Build, we use "Label Sidekick" of Team Foundation Sidekicks, where we place the Label of the Build & expect to find the newly built Changeset. Our development process in TFS 2010 is making use of 'Gated' checkins, so we are faced with the situation that the latest checkins are not presented in Sidekicks (we actually receive the changeset of the previous build). This is explainable, since at the time the labeling takes

TFS 2010: Gated Check-In On Main Branch; Rolling Builds on Dev Branch?

人走茶凉 提交于 2019-12-06 05:59:30
I recently migrated from VSS to TFS 2010 and I've been absolutely loving it, but there's something I haven't yet been able to get working the way I think it should. GOALS I'd like to quickly know when a change to Development breaks a build. If we find out after-the-fact, it's no big deal. Since a lot of check-ins happen throughout the day, we don't want to wait on the build to finish, so it should be asynchronous. With our Main branch, I'd like to ensure that any time a merge happens into it, we make sure it's not going to break the build. I want immediate feedback on this. The wait time is

Can we build multiple gated check-ins in parallel?

主宰稳场 提交于 2019-12-05 09:26:25
Assuming we continue to use XAML build definitions for gated check-ins in TFS 2015 because the vNext system doesn't support them, is it still possible to get multiple gated check-ins running in parallel? I know that there is a Parallel option in the Build setup UI but I don't know if it can be applied to XAML build definitions as well, and what other constraints there are. Can you build in parallel on the same box (as long as it supports multiple agents)? XAML based gated builds of the same definition cannot be run in parallel. I believe that this is a deliberate limitation. The purpose of a