Working within dynamic view

XMLWordPrintable

    • Type: Task
    • Resolution: Not A Defect
    • Priority: Major
    • Component/s: clearcase-plugin
    • None
    • Environment:
      Server OS: Centos 5.3
      Slave OS: Rhel 4.4
      Hudson Version: 1.388
      ClearCase Plugin version 1.3.3
      ClearCase version 2003.06

      I am looking for information on how to utilize the dynamic view functionality within the plugin. I have it configured to use the freeze code option and it appears to do all that work fine. Its when it starts a build step that it doesn't seem to actually set the view context.

      I have tried a one liner to set the view, cd to a directory within the view/vob structure, then run make. This does not seem to work. I would ideally like to have multiple build steps instead of one glued together but no matter what I do the view created doesn't seem to be set for me to work within it. I can verify manually that the view is fine on the slave and once within the view or even using /view/${CLEARCASE_VIEWTAG}/path/to/files works just fine.

      Command (again I hope we don't need to do something like this):
      /usr/atria/bin/cleartool setview ${CLEARCASE_VIEWTAG} && cd /vobs/swb/Sources && /usr/bin/make && /usr/bin/make rpm

      Output:
      23:16:29 [SWB5.0_replan] $ /bin/sh -xe /tmp/hudson1617323595391977533.sh 23:16:29 + /usr/atria/bin/cleartool setview builder_SWB5.0_replan_int
      23:16:30 + cd /vobs/swb/Sources 23:16:30 /tmp/hudson1617323595391977533.sh: line 3: cd: /vobs/swb/Sources: No such file or directory

            Assignee:
            Vincent Latombe
            Reporter:
            peterkline
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: