5.2 Working with ClearCase

You are viewing an old version (v. 4) of this page.
The latest version is v. 24, last edited on Sep 29, 2009 (view differences | )
<< View previous version | view page history | view next version >>

Define ClearCase repository

ClearCase repository can be defined by choosing the ClearCase menu item from the repository menu as follows:

Specify cleartool command location

QuickBuild utilizes the cleartool command to interact with ClearCase. If this command is not in system path, you will need to specify location of the command by configuring ClearCase plugin as below:

Cleartool location can be specified on a per-node basis by following below steps:

  1. Define the cleartool path property as:
    ${node.getAttribute("cleartoolPath")}
    
  2. For each node that does not have cleartool on system path, define the user attribute cleartoolPath to point to the actual cleartool path like below:
    Unable to render embedded object: File (clearcase3.png) not found.

Please note that in above example, the cleartoolPath user attribute is just for demonstration purpose. You can use any other user attribute name.

Proof build support

For general concept of proof build, refer to [proof build]. Here we explain how to set up ClearCase repository to support proof build.

Test proof build as administrator

Since proof build set up is a bit tricky, we first set up proof build for the administrator account and make sure it works before we proceed to enable it for all developers. To set up proof build for administrator, please follow below steps:

  1. Login as administrator and download user agent by switching to My tab.
  2. Install and start user agent on your own desktop. For testing purpose, please start the agent as a foreground process. On windows, this can be done by running agent.bat; on Unix platforms, this can be done by running agent.sh console
  3. Set up a test configuration on QuickBuild server, and define a ClearCase repository and enable the proof build option like below:
  4. Make sure the cleartool command exist in the system path of both server machine and your desktop. If not, please follow the section Specify cleartool command location to tell QuickBuild location of cleartool command.
  5. Add a repository/checkout step into step execution graph and have it checkout from the repository defined above.
    Now proof build has been enabled for your account, please try to checkout and edit some file inside the local view path specified above, and then run the test configuration. If set up correctly, your local change will be picked up and reflected in the build result. A local change tab will also appear to display your uncommitted changes after build finishes. Your uncommitted changes will be committed automatically if build is successful.

Enable proof build for all developers

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.