Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-5576

Corrected command when Creating shapshot views

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • clearcase-plugin
    • None
    • Hudson 1.344, Clearcase Plugin 1.1

      Creating Clearcase Shapshot Views should always include it's pathname (pname).
      So the correct command should always be "cleartool mkview -snapshot -tag $CLEARCASE_VIEWNAME $WORKSPACE/$CLEARCASE_VIEWNAME"

      $ /opt/rational/clearcase/bin/cleartool pwv -root
      $ /opt/rational/clearcase/bin/cleartool lsview
      (.......)
      $ /opt/rational/clearcase/bin/cleartool mkview -snapshot -tag ccview_03 ccview_03
      Created view.
      Host-local path: hudson-server:/storage/workspace/TEST/Customer02/ccview_03/.view.stg
      Global path: /net/hudson-server/storage/workspace/TEST/Customer02/ccview_03/.view.stg
      It has the following rights:
      User : user1 : rwx
      Group: group1 : r-x
      Other: : r-x
      Created snapshot view directory "ccview_03".
      $ /opt/rational/clearcase/bin/cleartool setcs ../configspec5103066019514796984.txt

      This is just to be sure the shapshot view is created EXACTLY where it's suppsed to: the job's WORKSPACE.
      In dynamic views, we can already specify the correct viewstorage directory. So the creation behaviour is already correct for dynamic views, and should be the same for snapshot views too.

      Thanks in advance.

            hmonteiro hmonteiro
            hmonteiro hmonteiro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: