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
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
Hi Abraham,
Here are a couple pointers to documentation on these topics,
Here are a couple pointers to documentation on these topics,
- http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m6/topic/com.ibm.team.build.doc/topics/tcreateworkspace.html
- https://jazz.net/wiki/bin/view/Main/BuildFAQ#LoadingJazzSCM
One other answer
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
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.
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.
See also recent discussion in: Investigate automating update of scoped flows during build (325111)
Note that with scoped flows, the snapshot for the build only includes the accepted components.