Custom build based on issue status in TFS

Hi,
I am stuck in a scenario where I want to do custom Teamcity builds but with selective checkins made by the developers.
I am aware of the feature which allows to trigger build till a given selected checkin but with that it will take all the check-ins made before that. I even further want to specify if we can select individual check-ins in the list of pending changes.

Example scenario: I am using TFS work items in issue tracker which tracks based on the bug id and I can see those in changelog.
But now I want teamcity to take only those changes in build which have bug completed/resolved status and not a check-in that has in-progress status even if Teamcity detects that checkin. Any other checkin apart from that should be not taken up.

I have searched a lot but could not come across any resolution. If it's possible please guide!

Thanks

0
3 comments

Hi Sudhakar,

I'd like to clarify first what you are attempting to do, in order to make sure I understand your scenario.

You check in changes X, after that Y and Z. You want a way to build based on Z and X but ignoring Y?

This isn't currently possible, but as TFVC allows for labeling changes, you might be able to label Z and X and then build on the label once this feature gets implemented: https://youtrack.jetbrains.com/issue/TW-7370

If that's not what you are looking for, please specify.

0
Avatar
Permanently deleted user

Hi Denis,

 

Thanks for your assistance. Yes you guessed the scenario correctly about how I want to do the build based on selected check-ins.

However it was more based on the issue state detected by the TFWI issue tracker, that if there are 4 check-ins made 

suppose A=dev completed,B=Dev progress,C=SIT progress and D=Dev completed(Suppose) in a day. Then only check-ins with issue state "dev completed" should be picked up in the build.

However builds based on labeling would help, but is it possible to do so pick the changes in a build based on issue resolution state?

Thanks,

 

0

Hi,

sorry for the delay, we are at release time and things are a bit hectic.

As I mentioned, this isn't directly possible currently. The best approach to your initial mention was the solution we made. In case you are looking at very specific conditions, you always have the option of creating your own custom build trigger: https://confluence.jetbrains.com/display/TCD10/Custom+Build+Trigger


You can, if you want, send us a feature request to support it on our side, but please take into account that the request will be considered for implementation, and it might take a while, at the moment, even for a first answer, as we are closing in on a new major release which we are expecting in the coming week or two.

0

Please sign in to leave a comment.