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

CVS modules with spaces has sideeffects on the "Legacy mode" (a.k.a. "flatten") in hudson configuration



    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • cvs-plugin
    • None
    • Platform: All, OS: Windows XP


      I have defined a Hudson job with a single cvs module; one that contains spaces
      in its name. I am using the backslash escape character as specified by the
      documentation, and the module is checked out correctly by CVS. Only problem is
      that each time i modify the job configuration and save it, the "Legacy mode"
      becomes checked even though I explicitly unchecked it. The only way to force
      hudson to uncheck it is by changing the "flatten"-element in the config.xml-file
      and then re-read the hudson configuration.

      My guess is that Hudson has a mechanism that forces the "Do Not Flatten"-mode
      (the "Legacy Mode") whenever multiple CVS modules is defined in a job which
      makes perfectly sense since it would be unwise to flatten multiple modules into
      the same directory. However, when a single module contains spaces, this
      mechanism is tricked into believe that there is multiple modules probably
      because it still uses a simple "look for spaces"-strategy to decide if several
      modules is defined.



          boerrild boerrild created issue -
          kohsuke Kohsuke Kawaguchi made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 131307 ] JNJira + In-Review [ 200553 ]


            Unassigned Unassigned
            boerrild boerrild
            0 Vote for this issue
            2 Start watching this issue