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

unable to use clearcase view which is already present. instead it is deleting that view.

    Details

    • Similar Issues:

      Description

      Hi Folks,

      unable to use the clearcase view which is already present.

      clearcase view: dkanagar_ostore_7.4_psecpp.vc10.nt64.sym.win
      location of view: \\NT64OSBLD2\vwstore_d\dkanagar_ostore_7.4_psecpp.vc10.nt64.sym.win

      i installed "https://wiki.jenkins-ci.org/display/JENKINS/ClearCase+Plugin" version 1.3.11 and configured with below values.

      View tag: dkanagar_ostore_7.4_psecpp.vc10.nt64.sym.win

      but it has removed this view instead of using this.

      below are the information from logfile.

      [dkanagar_ostore_7.4_psecpp.vc10.nt64.sym.win] $ cleartool lsview -cview -s
      [INFO] computeChangeLogBeforeCheckout = false
      [INFO] computeChangeLogAfterCheckout = true
      [winnt_vc100_psepro_c++] $ cleartool lsview dkanagar_ostore_7.4_psecpp.vc10.nt64.sym.win
      dkanagar_ostore_7.4_psecpp.vc10.nt64.sym.win \\NT64OSBLD2\vwstore_d\dkanagar_ostore_7.4_psecpp.vc10.nt64.sym.win
      Removing view tag because it exists, but the view path doesn't.
      [winnt_vc100_psepro_c++] $ cleartool rmview -force -tag dkanagar_ostore_7.4_psecpp.vc10.nt64.sym.win
      cleartool: Error: Unable to remove "\\NT64OSBLD2\vwstore_d\dkanagar_ostore_7.4_psecpp.vc10.nt64.sym.win": Operation not permitted.
      cleartool: Error: Unable to remove view "\\NT64OSBLD2\vwstore_d\dkanagar_ostore_7.4_psecpp.vc10.nt64.sym.win".
      FATAL: UCM ClearCase failed. exit code=1
      [winnt_vc100_psepro_c++] $ cleartool rmtag -view dkanagar_ostore_7.4_psecpp.vc10.nt64.sym.win
      [winnt_vc100_psepro_c++] $ cleartool mkview -snapshot -stream ostore_7.4_int@\vobs_ostore_pvob -tag dkanagar_ostore_7.4_psecpp.vc10.nt64.sym.win -vws \\vm-ntdivakar1.bedford.progress.com\views\dynamic\dkanagar_ostore_7.4_psecpp.vc10.nt64.sym.win.vws dkanagar_ostore_7.4_psecpp.vc10.nt64.sym.win
      cleartool: Error: Attempt to get location information on "\\vm-ntdivakar1.bedford.progress.com\views\dynamic\dkanagar_ostore_7.4_psecpp.vc10.nt64.sym.win.vws" failed: No such file or directory.
      FATAL: UCM ClearCase failed. exit code=1
      java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -stream ostore_7.4_int@\vobs_ostore_pvob -tag dkanagar_ostore_7.4_psecpp.vc10.nt64.sym.win -vws \\vm-ntdivakar1.bedford.progress.com\views\dynamic\dkanagar_ostore_7.4_psecpp.vc10.nt64.sym.win.vws dkanagar_ostore_7.4_psecpp.vc10.nt64.sym.win", actual exit code=1

      i think if we change the environment variable "CLEARCASE_VIEWPATH" (The absolute path to the ClearCase view is available as an environment variable named CLEARCASE_VIEWPATH.), it will resolve. but there is no information to tell how to change this variable.

      my requirement is to use the clearcase view which is already present.

      let me know if you need any other information.

      Thank you in advance.

      Best Regards,
      Divakar

        Attachments

          Activity

          Hide
          vlatombe Vincent Latombe added a comment -

          Using any Jenkins SCM Plugin implies that you let the SCM plugin control the workspace. If you want to control the view externally, don't use the SCM plugin.

          Show
          vlatombe Vincent Latombe added a comment - Using any Jenkins SCM Plugin implies that you let the SCM plugin control the workspace. If you want to control the view externally, don't use the SCM plugin.

            People

            • Assignee:
              vlatombe Vincent Latombe
              Reporter:
              divakar_scm Divakar Kanagaraj
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: