unixclearcase-ucmauto-build

Clearcase UCM in UNIX Build environment


I am planning to use CC UCM in my project. (Actually migration from base clearcase to UCM) The build environment is in UNIX. But the development is mostly done on windows.

My main doubt is that the snapshot views will be residing on the developers windows machine ? How should the mapping to the UNIX build machine of the same should/can be done ?

How can we effectively make use triggers inorder to setup auto-build on delivery, nightly builds etc.. in UNIX environment?

Has anyone tried the same kind of configuration? If so please share your experiences.

After creating the UCM PVob and importing the existing Base clearcase (Component) VOB into it, Can we work on the component VOB through Base as well as UCM parallely ? will it be in sync with each other?


Solution

  • My main doubt is that the snapshot views will be residing on the developers windows machine?

    Yes. Nothing change compared with Base ClearCase.
    The definition of those UCM view is based on an UCM stream, but otherwise, the snapshot or dynamic views keep the same behavior.

    I was used to manage base ClearCase views, and UCM views referring the same Vobs actually (both can coexist).

    I managed an introp environment, and triggers works the same with UCM or non-UCM views.
    You simply need to define those trigger with a -unix parameter in order toreference a shared path (accessible/readible by all) for said trigger to access its script.
    See cleartool mktrtype.


    The OP Karshal asks (in an edit)

    Can you please elaborate a little more on the triggers for nightly build, Continous integration build kickofff etc... and mainly the baselining strategy?

    I don't have specifics on the triggers (you write your own), but the baseline strategy is mainly to use:

    See more at "What is the difference between Full baseline and Incremental baseline in Clearcase UCM?"

    After creating the UCM PVob and importing the existing Base clearcase (Component) VOB into it, Can we work on the component VOB through Base as well as UCM parallely ? will it be in sync with each other?

    Yes, but you might want to work on parallel branches and do a merge to synchronize their content instead of working on the same branch.
    Again: yes, a file which is part of an UCM component can be checked-out checked-in in a base ClearCase view.

    See more at: