Search code examples
continuous-integrationhudsonclearcaseluntbuildsnapshot-view

Continuous integration with ClearCase and long-updating snapshot views


I need to set up a continuous integration system. We use ClearCase version control and only snapshot views due to platform restrictions. I have tried setting up Hudson and Luntbuild. They both show the same behaviour. In a view, we have lots of libraries that are used for build but are strictly read-only. The CI system executes cleartool lshistory and finds a change in the VCS. After that, it executes cleartool setcs, which causes update of the view. This can take about half an hour, which is very undesirable for CI. Why wouldn't it update only the changed elements, which were previously obtained by cleartool lshistory? Is there a CI system that can do this?


Solution

  • The update of a snapshot view with a lots of elements can takes time.

    That is why we are using several view in our Hudson CI.

    • One with the minimum amount of elements, view which is monitored by Hudson and updated if a VCS change is detected.
    • One with the common stuff which does not change that often (if it changes, we will declenche the Hudson Job manually)

    Other solution is, especially for the first view, to use a dynamic view (and skip the update loading times)