Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip checkin on any shelveset #32

Closed
tbergstedt opened this issue May 27, 2016 · 6 comments
Closed

Skip checkin on any shelveset #32

tbergstedt opened this issue May 27, 2016 · 6 comments

Comments

@tbergstedt
Copy link

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.

@jessehouwing
Copy link
Owner

jessehouwing commented May 27, 2016

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.

@jessehouwing
Copy link
Owner

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?

@jessehouwing
Copy link
Owner

@tbergstedt
Copy link
Author

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 #32.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#32 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AFClBlOATri53CxXnYgQvo4C59p5YSVVks5qH-tsgaJpZM4IoPYG
.

@jessehouwing
Copy link
Owner

@jessehouwing
Copy link
Owner

A review of the tasks with a short description of how you're using it would be very appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants