jenkinsclearcaseclearcase-remote-client

creating clearcase dynamic view in jenkins


I am looking for a plugin or extension, which can be used to create clearcase dynamic view using Jenkins. The existing clearcase plugin gives this functionality for snapshot view only. This post also gives an idea of using script for creating CC view.

Has somebody done/doing similar work? That will be nice if I can get some ideas how to proceed further. It should be for base clearcase, not for UCM.


Solution

  • Create, maybe not.

    But the ClearCase plugin allows for using an existing dynamic view.

    https://wiki.jenkins-ci.org/download/attachments/2916537/base_dynamic_config.png?version=1&modificationDate=1252688398000

    Optionally, you can use an existing dynamic view, rather than a new snapshot view. To do so, check "Use dynamic view" under the advanced options.

    View root
    

    Required for dynamic view use - this is the directory or drive under which dynamic views live. On Unix, this is generally "/view", while on Windows, it's generally "M:\".

    Do Not Reset Config Spec
    

    If selected, the dynamic view's config spec won't be changed, regardless of whether it matches the config spec specified in the job configuration.


    The plugin itself creates snapshot view in hudson.plugins.clearcase.ClearToolExec class.
    You can use a similar code for dynamic view.