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

RTC Builds and excluding components

In RTC 4.0.6, I have a stream with multiple components.  i have the two following use cases.  Can this be done, and if yes, where is it documented.

1. Only have builds done on the components where changes have been delivered and accepted.
2.  Have the build definition only load one component and exclude other build repository workspace components

0 votes


Accepted answer

Permanent link
Hi Abraham,

Here are a couple pointers to documentation on these topics,

  1. http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m6/topic/com.ibm.team.build.doc/topics/tcreateworkspace.html
  2. https://jazz.net/wiki/bin/view/Main/BuildFAQ#LoadingJazzSCM
Scott
Abraham Sweiss selected this answer as the correct answer

0 votes


One other answer

Permanent link
 There is no built-in logic to scope builds to run on particular components that have accepted changes.  However you can scope what components will load statically by using the load rules, or excluding designated components.  Rather you can set up multiple build definitions to build particular components or create substreams that flow from the main stream but focus on particular component combinations.  Depends on the ultimate use case.

~Spencer

0 votes

Comments

The build workspace's flow target(s) can be scoped to include only specific components from the target stream(s). Only these components are considered in the pre-build check for whether there are SCM changes to build.

Relevant Help topics from v4.0.5: Creating build definitions, Flow targets.
It's clear we have some gaps in the doc here, though. The first topic doesn't link to the second, nor does it cover the 'Components to exclude' option. I'll file a task for that.

Note that with scoped flows, the snapshot for the build only includes the accepted components.

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
× 1,381
× 562
× 76

Question asked: Jul 22 '14, 9:56 a.m.

Question was seen: 7,273 times

Last updated: Oct 26 '14, 6:15 p.m.

Confirmation Cancel Confirm