Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Get only Work Items concerned by the Current Build

Hi

We love this great feature where we can select in the Build Definition a subset of components to download and build instead of the all repository workspace.
Nevertheless we discovered that the Build Result will display all the work items associated to the changesets of ALL the components.
There is a way to obtain only the WI of the selected components or does it work as designed and I need to create an enhancement for that?

Thanks for your help

1 vote


Accepted answer

Permanent link
It is working as designed.  The list of work items associated with the build comes from the change sets that were accepted into the build workspace at the beginning of the build.  And the accept always accepts changes for all components in the workspace.  It doesn't pay attention to the components that will be loaded on the build machine.

Depending on how your build is setup, you might be able to get the behavior you want without needing an enhancement to RTC.

If your build only builds a subset of components that are in your stream, and that subset of components rarely changes, then you should edit the flow target of the build workspace so that only those components flow between the build workspace and the stream.  That will prevent change sets from the unwanted component from being accepted into the build workspace, and will prevent the corresponding work items from being associated with the build.

If you frequently change the set of components built by your build (so that the solution in the paragraph above won't work), then I suggest that you don't do that.  It is best if each build definition builds approximately the same stuff in every build.  You should set up a separate build definition for subset of components that you normally want to build.

--
David Olsen, IBM Rational, Jazz Process Team
Jared Burns selected this answer as the correct answer

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019
× 562
× 369

Question asked: Jun 07 '12, 5:51 p.m.

Question was seen: 5,307 times

Last updated: Aug 08 '12, 1:39 p.m.

Confirmation Cancel Confirm