Closed tbergstedt closed 8 years ago
You're right that the shelveset builds are not treated as Gated.
It would be relatively easy to detect whether this is a Shelveset build (the code is already there), but I know a few people are building to support "buddy builds" which only check in if the build succeeds. I don't know when I'll have time to fix this, I'm open to a pull request on this. The checks are already here: https://github.com/jessehouwing/vsts-tfvc-tasks/blob/master/vsts-tfvc-checkin/TfvcCheckin.ps1#L184 So it would require a quick update in the UI: https://github.com/jessehouwing/vsts-tfvc-tasks/blob/master/vsts-tfvc-checkin/task.json#L154 with a default value of False for backwards compatibility.
I don't think this is different than it was in XAML builds when doing buddy builds.
Adding this to the Gated Checkin task. What would you expect the behavior of the Update Shelveset task? Should it have a Skip gated, Skip shelveset and Error options?
Hi, Great, thanks for such fast response and fix. We use it in TFS On Premises, could you possibly make it available for that as well?
Cheers, Torbjörn
fre 3 juni 2016 kl 10:53 skrev Jesse Houwing notifications@github.com:
Closed #32 https://github.com/jessehouwing/vsts-tfvc-tasks/issues/32.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jessehouwing/vsts-tfvc-tasks/issues/32#event-680870309, or mute the thread https://github.com/notifications/unsubscribe/AFClBlOATri53CxXnYgQvo4C59p5YSVVks5qH-tsgaJpZM4IoPYG .
A review of the tasks with a short description of how you're using it would be very appreciated.
I'd like to broaden or extend the "Skip checkin on Gated changes" feature to apply to whenever a shelveset is sent to the build. I don't think such builds are "gated" as build vNext sees it, at least we've had the issue that the changes were checked in even though this was not the intention.