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

UCM Baseline plugin mkview error

XMLWordPrintable

      Hi,

      I am trying to setup Hudson job to UCM Baseline as input to the build. After setting up pvob and stream name, I am getting the list of available baselines to choose from at the time of starting the build. However, the build fails immediately after that because its not able to create a view.

      I have chosen it to be a dynamic view. I have specified the view name as "tmpview" and "\\%NODE_NAME%\viewstore\tmpview.vws" as additional mkview argument.

      The error is:

      [workspace] $ cleartool mkview -tag tmpview \\%NODE_NAME%\viewstore\tmpview.vws tmpview
      cleartool: Error: Extra arguments: "tmpview"
      Usage: mkview -tag dynamic-view-tag [-tcomment tag-comment] [-tmodetext-mode]
                     [-region network-region | -stream stream-selector]
                     [-shareable_dos | -nshareable_dos] [-cachesize size]
                     { -stgloc {view-stgloc-name | -auto}
                     | [-host hostname -hpath host-stg-pname -gpath global-stg-pname]
                       dynamic-view-storage-pname              }
      

      Hudson Version: 1.386
      Hudson Clearcase plugin: 1.3.3
      Hudson UCM Baseline plugin: 1.7.1

      It seems that plugin view tag is getting inserted again at the end of cleartool command line by the plugin code. I cant find any place from where this extra parameter might be getting appended.
      Has anybody observed such behavior earlier? If its known issue, can someone please point me to correct version of plugins?

      UCM Baseline Parameter settings:

      PVOB=\cmd_pvob
      Component=JIGSAW
      Promotion Level=-
      Stream=<stream name>
      Restrict Folder To=-
      View Name=tmpview
      Additional mkview arguments=
      -stream <stream name>@\cmd_pvob
      \\%NODE_NAME%\viewstore\tmpview.vws

      Expected commandline is:
      cleartool mkview -tag tmpview \\%NODE_NAME%\viewstore\tmpview.vws

      Essentially, the view tag at the end of the command line is erroneous and hence should not be appended.

      Thanks and Regards,
      Kamlesh

            rseguy Romain Seguy
            jrmonk jrmonk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: