Mercurial plugin cannot handle spaces in file names

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: mercurial-plugin
    • Environment:
      OS: Windows 10 x64
      JDK: Oracle JDK 1.8.0_11
      Jenkins Version: 2.138.3
      Mercurial Plugin version: 2.5-SNAPSHOT (from Github)
      Jenkins is installed using Maven, by running "mvn hpi:run" from the mercurial-plugin root directory
    • 2.6

      In the Mercurial plugin, files in each changeset are formatted into the changelog XML file with a space used as a separating character between each file name. This causes an issue wherein any file or folder containing a space in the name is parsed as two separate files, and hence prints strange results.

      This is primarily an issue if a module list is used in a Pipeline configuration script, as this results in the incorrectly parsed files being excluded from the changesets (since the module list acts as a whitelist and the badly formatted filenames are considered as outside the listed modules).

            Assignee:
            Jesse Glick
            Reporter:
            Mitchell Bagot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: