It's all about the answers!

Ask a question

RTC Builds and excluding components


Abraham Sweiss (2.4k1331) | asked Jul 22 '14, 9:56 a.m.
edited Oct 26 '14, 6:15 p.m. by David Steinmetz (5011)
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

Accepted answer


permanent link
Scott Cowan (966310) | answered Jul 22 '14, 10:41 a.m.
JAZZ DEVELOPER
edited Jul 22 '14, 10:42 a.m.
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

One other answer



permanent link
Spencer Murata (2.3k115971) | answered Jul 22 '14, 10:29 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
 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

Comments
Nick Edgar commented Jul 22 '14, 10:44 a.m. | edited Jul 22 '14, 10:46 a.m.
JAZZ DEVELOPER

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.


Nick Edgar commented Jul 22 '14, 10:47 a.m.
JAZZ DEVELOPER

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



Your answer


Register or 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.