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

Load rules containing spaces not handled properly

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • clearcase-plugin
    • None

      Hi,

      It seems that issue with space characters in the load paths have reappeared on the new plugin version. I have older version of the plugin (0.9.1) running on one hudson and latest version 1.2 on other hudson.

      The older one specifies load path as

      load "/XYZ/ABC File Management.sln"

      and newer one specifies the same but in seperate load path section now

      /XYZ/ABC Management.sln

      The old job succeeds to load the file while the newer one fails saying cleartool: Error: Unable to lookup "ABC" in "\XYZ@@\main\100": No such file or directory.
      cleartool: Error: Unable to access "\XYZ\ABC": No such file or directory.
      cleartool: Error: Pathname "File" is not a full VOB pathname: it does not begin with a "\".
      cleartool: Error: Pathname "Management.sln" is not a full VOB pathname: it does not begin with a "\".

      cleartool: Error: 3 config spec load rule problems encountered.
      Can you please check if the following fix with plug-in version 1.1 is really fixed?

      Bug fix: Load rules containing spaces are now handled properly in cleartool calls. (issue #4443)

      Regards,

      abhijit

          [JENKINS-6491] Load rules containing spaces not handled properly

          abjoshi added a comment -

          We also tried to put " and ' around the path to see if it resolves the path then but it still results in the errors.
          Regards,
          Abhijit

          abjoshi added a comment - We also tried to put " and ' around the path to see if it resolves the path then but it still results in the errors. Regards, Abhijit

          D C added a comment - - edited

          I seem to be having the same sort of issue.

          Jenkins 1.414, Clearcase Plugin 1.3.6

          My config spec:

          load \DelphiProjects1\InstallationSoftware\UnitSpecs
          load "\USBDrivers\USB Com Port Driver"
          load \USBDrivers\DriverWarning.exe

          Clearcase polling log:

          Started on 08/06/2011 11:10:48 AM
          [wbuilder_master_Humpback_hudson] $ "C:\Program Files\Rational\ClearCase\bin\cleartool" pwv -root
          C:\Program Files\Jenkins\jobs\Humpback\workspace\wbuilder_master_Humpback_hudson
          [workspace] $ "C:\Program Files\Rational\ClearCase\bin\cleartool" lsview wbuilder_master_Humpback_hudson
          wbuilder_master_Humpback_hudson \\buildsrv\ClearCase_Storage_d\views\APA\wbuilder\wbuilder_master_Humpback_hudson.vws
          [wbuilder_master_Humpback_hudson] $ "C:\Program Files\Rational\ClearCase\bin\cleartool" lshistory -all -since 8-jun-11.01:35:50utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n' -branch brtype:humpback -nco DelphiProjects1\InstallationSoftware\UnitSpecs '""\USBDrivers\USB Com Port Driver""' USBDrivers\DriverWarning.exe
          cleartool: Error: Unable to access "\USBDrivers\USB": ClearCase object not found.
          cleartool: Error: Unable to access "Com": No such file or directory.
          cleartool: Error: Unable to access "Port": No such file or directory.
          cleartool: Error: Unable to access "Driver": No such file or directory.
          Done. Took 2 sec

          The single double-quote in the config spec, by the time Jenkins processes it seems to be quoted three times, ie. a single quote ' then a double quote " then a double quote ".

          D C added a comment - - edited I seem to be having the same sort of issue. Jenkins 1.414, Clearcase Plugin 1.3.6 My config spec: load \DelphiProjects1\InstallationSoftware\UnitSpecs load "\USBDrivers\USB Com Port Driver" load \USBDrivers\DriverWarning.exe Clearcase polling log: Started on 08/06/2011 11:10:48 AM [wbuilder_master_Humpback_hudson] $ "C:\Program Files\Rational\ClearCase\bin\cleartool" pwv -root C:\Program Files\Jenkins\jobs\Humpback\workspace\wbuilder_master_Humpback_hudson [workspace] $ "C:\Program Files\Rational\ClearCase\bin\cleartool" lsview wbuilder_master_Humpback_hudson wbuilder_master_Humpback_hudson \\buildsrv\ClearCase_Storage_d\views\APA\wbuilder\wbuilder_master_Humpback_hudson.vws [wbuilder_master_Humpback_hudson] $ "C:\Program Files\Rational\ClearCase\bin\cleartool" lshistory -all -since 8-jun-11.01:35:50utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n' -branch brtype:humpback -nco DelphiProjects1\InstallationSoftware\UnitSpecs '""\USBDrivers\USB Com Port Driver""' USBDrivers\DriverWarning.exe cleartool: Error: Unable to access "\USBDrivers\USB": ClearCase object not found. cleartool: Error: Unable to access "Com": No such file or directory. cleartool: Error: Unable to access "Port": No such file or directory. cleartool: Error: Unable to access "Driver": No such file or directory. Done. Took 2 sec The single double-quote in the config spec, by the time Jenkins processes it seems to be quoted three times, ie. a single quote ' then a double quote " then a double quote ".

            Unassigned Unassigned
            abjoshi abjoshi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: