Set Up Build Dependency

Version 7 by Robin Shen
on Aug 10, 2009 00:44.


compared with
Version 8 by Robin Shen
on Aug 10, 2009 01:03.


Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 1 changes. View first change.

  It is quite common that a product is comprised of different components, and a component is used by different products. We suggest to set up builds for these components and products separately in this case, and utilize QuickBuild's dependency mechanism to use result of component builds in product builds. QuickBuild implements build dependency through a special repository type - [QuickBuild repository]. Assume we have two configurations, one is created to build productA, and another is created to build componentA which will be used by productA. To use artifacts of componentA, you will need to switch to _repositories_ tab of configuration _productA_, and define a QuickBuild repository there retrieving desired files from desired build, and then a checkout step against this repository needs to be added into step execution graph of _productA_.
  It is quite common that a product is comprised of different components, and a component is used by different products. We suggest to set up builds for these components and products separately in this case, and utilize QuickBuild's dependency mechanism to use result of component builds in product builds. QuickBuild implements build dependency through a special repository type - [QuickBuild repository]. Assume we have two configurations: _root/product_ and _root/component_. Configuration _root/product_ is created to build the product, and configuration _root/component_ is created to build component. To use component artifacts, you will need to:
 # Switch to _repositories_ tab of _root/product_, and define a QuickBuild repository there retrieving desired files from desired build of _root/component_.
 # Switch to _steps_ tab of _root/product_, and add a checkout step into step execution graph to check out from the repository defined above.