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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: cvs-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: Windows XP
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          Fixed in 1.177.

          Show
          kohsuke Kohsuke Kawaguchi added a comment - Fixed in 1.177.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            boerrild boerrild
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: