Automatic build with clearcase

1.4k Views Asked by At

Is there any way to build for multiple targets using the ClearCase Automation Layer or maybe by creating a perl script? I would like to automate the process of building for both Linux and windows when a project is checked in. Any inputs would be appreciated.

Regards, Magnus

2

There are 2 best solutions below

4
On BEST ANSWER

You could use the continuous integration server Jenkins' matrix configurations to build for multiple targets and use either the Base ClearCase Plugin or the ClearCase UCM Plugin, depending on your ClearCase installation.

Currently, though, the ClearCase UCM Plugin does not have Linux support, but it is on the way.

Sorry, couldn't add all the links I wanted, because of too little rep.

0
On

The configuration matrix is made for "instances where your builds will make many similar build steps, and you would otherwise be duplicating steps."

The step that will differ is the ClearCase view creation/parametrization, different for each platform, since the ClearCase region, view storage path and file separators will be different.
Even if you are using UCM, the base ClearCase plugin is enough to detect changes on the branch: use the name of the Stream as the branch.