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

Mercurial plugin cannot handle spaces in file names

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: mercurial-plugin
    • Labels:
    • 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
    • Similar Issues:
    • Released As:
      2.6

      Description

      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).

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: